diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2aed334..491017c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,11 +7,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x] + node-version: [20.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Bundle www # The assets build for the public CDN @@ -22,7 +22,7 @@ jobs: export ON_BRANCH=${GITHUB_REF##*/} if [[ $ON_BRANCH == 'main' ]]; then export API_URL=$API_URL_PROD ; else export API_URL=$API_URL_DEV; fi node scripts/set-environment.js - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: www path: src @@ -31,7 +31,7 @@ jobs: API_URL: '' run: | node scripts/set-environment.js - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: internal path: src