From f826f6d3a12c5022458f8c0c76dd2787c1e54679 Mon Sep 17 00:00:00 2001 From: Jeremias Peier Date: Wed, 6 Nov 2024 08:45:39 +0100 Subject: [PATCH] build: upgrade github actions --- .github/workflows/continuous-integration.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 6dcffd3c5..bcae3e328 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -1,10 +1,10 @@ name: Continuous Integration on: push: - branches: + branches: - 'main' pull_request: - branches: + branches: - 'main' workflow_dispatch: inputs: @@ -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 @@ -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 @@ -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/