diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index d68f6430..ae6cedb7 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.head.sha }} persist-credentials: false # Don't persist GitHub token @@ -23,7 +23,7 @@ jobs: key: node_modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }} - name: Install node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version-file: '.nvmrc' @@ -50,7 +50,7 @@ jobs: timeout-minutes: 5 steps: - name: Download build artifact - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: dist-files path: dist diff --git a/.nvmrc b/.nvmrc index 790e1105..c2448104 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20.10.0 +v24.9.0 diff --git a/package.json b/package.json index 88307172..4f5d71af 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,6 @@ "**/**/lodash.template": "^4.5.0" }, "engines": { - "node": "20.x" + "node": "24.x" } }