diff --git a/.github/workflows/publish-github-pages.yaml b/.github/workflows/publish-github-pages.yaml index abc01e6812..77ca16f9b8 100644 --- a/.github/workflows/publish-github-pages.yaml +++ b/.github/workflows/publish-github-pages.yaml @@ -12,6 +12,9 @@ defaults: run: shell: bash +env: + node-version: 22 + jobs: build: runs-on: ubuntu-latest @@ -20,6 +23,12 @@ jobs: - name: Checking out for ${{ github.ref }} uses: actions/checkout@v2 + - name: Use Node.js ${{ env.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ env.node-version }} + cache: npm + # - name: Run npm ci --no-production # env: # NODE_ENV: production