diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8182ad3a..bb58f13f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,5 +11,5 @@ jobs: ci: uses: shlinkio/github-actions/.github/workflows/web-app-ci.yml@main with: - node-version: 20.7 + node-version: 22.x publish-coverage: true diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index bd5c2a18..d7c891ff 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -9,19 +9,19 @@ jobs: continue-on-error: true steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} - name: Use node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 20.7 + node-version: 22.x - name: Build run: | npm ci && \ node ./scripts/set-homepage.cjs /shlink-web-client/${GITHUB_HEAD_REF#refs/heads/} && \ - npm run build + node --run build - name: Deploy preview uses: shlinkio/deploy-preview-action@v1.0.1 with: diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index b0e4201a..2add95bb 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 20.7 + node-version: 22.x - name: Generate release assets run: npm ci && VERSION=${GITHUB_REF#refs/tags/v} npm run build:dist - name: Publish release with assets