diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index d917b99..0b41a0c 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: 20 + node-version: 22 - name: Get yarn cache uses: actions/cache@v4 @@ -24,7 +24,7 @@ jobs: path: | **/node_modules ~/.cache - key: ${{ runner.os }}-repo-${{ github.event.pull_request.head.repo.full_name }}-node-20-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/**.yml') }} + key: ${{ runner.os }}-repo-${{ github.event.pull_request.head.repo.full_name }}-node-22-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/**.yml') }} - name: Install Node.js dependencies # run when cache not found or PR is external (build fails for external PRs if dependencies are not installed) @@ -55,7 +55,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: 20 + node-version: 22 - name: Get yarn cache uses: actions/cache@v4 @@ -64,7 +64,7 @@ jobs: path: | **/node_modules ~/.cache - key: ${{ runner.os }}-repo-${{ github.event.pull_request.head.repo.full_name }}-node-20-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/**.yml') }} + key: ${{ runner.os }}-repo-${{ github.event.pull_request.head.repo.full_name }}-node-22-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/**.yml') }} - name: Install Node.js dependencies # run when cache not found or PR is external (build fails for external PRs if dependencies are not installed) @@ -102,4 +102,3 @@ jobs: GH_TOKEN: ${{ secrets.GH_TOKEN }} JARVIS_NOTIFY_PREVIEW_TEMPLATE: ${{ secrets.JARVIS_NOTIFY_PREVIEW_TEMPLATE }} PUBLIC_CDN_URL: 'https://btn.typeform.com' -