Skip to content

Commit

Permalink
build: upgrade github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jeripeierSBB committed Nov 6, 2024
1 parent 88997fe commit f826f6d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Continuous Integration
on:
push:
branches:
branches:
- 'main'
pull_request:
branches:
branches:
- 'main'
workflow_dispatch:
inputs:
Expand All @@ -25,7 +25,7 @@ on:
type: string
repository_dispatch:
types: [build-and-deploy]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
Expand All @@ -34,14 +34,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'npm'
node-version-file: '.nvmrc'
- run: npm ci
- run: npm run build
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: github.ref == 'refs/heads/main'
with:
name: showcase
Expand All @@ -54,8 +54,8 @@ jobs:
env:
IMAGE_REPO: ghcr.io/${{ github.repository }}/showcase
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: showcase
path: dist/
Expand Down

0 comments on commit f826f6d

Please sign in to comment.