diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4590cc1..21af985 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,9 +23,9 @@ jobs: uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '20.x' cache: 'npm' cache-dependency-path: ./client/package-lock.json - @@ -36,7 +36,7 @@ jobs: run: cd ./client && npm run build - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: client path: ./client/dist @@ -54,7 +54,7 @@ jobs: uses: actions/checkout@v4 - name: Download client artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: client path: ./client/dist @@ -94,7 +94,7 @@ jobs: password: ${{ secrets.DOCKER_TOKEN }} - name: Build and push - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: # Turns out the build-push-action runs in a "GitHub" context by default. # At the very least, it means pulling down your repository as part of pre-Dockerfile command.