Unverified Commit 6fc78ae1 authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

[15.5.x] Align Actions dependencies with Canary (#94344)

Co-authored-by: 's avatarMatt Mastracci <matthew@mastracci.com>
Co-authored-by: 's avatardagecko <cnyhuis@vigilantnow.com>
Co-authored-by: 's avatarBenjamin Woodruff <github@benjam.info>
Co-authored-by: 's avatarBenjamin Woodruff <benjamin.woodruff@vercel.com>
parent d71580e8
...@@ -9,7 +9,7 @@ runs: ...@@ -9,7 +9,7 @@ runs:
using: 'composite' using: 'composite'
steps: steps:
- name: 'Setup Rust toolchain' - name: 'Setup Rust toolchain'
uses: actions-rust-lang/setup-rust-toolchain@v1 uses: actions-rust-lang/setup-rust-toolchain@2b1f5e9b395427c92ee4e3331786ca3c37afe2d7 # v1.16.0
with: with:
target: ${{ inputs.targets }} target: ${{ inputs.targets }}
# needed to not make it override the defaults # needed to not make it override the defaults
......
This diff is collapsed.
...@@ -25,7 +25,7 @@ jobs: ...@@ -25,7 +25,7 @@ jobs:
permissions: permissions:
contents: read contents: read
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
fetch-depth: 25 fetch-depth: 25
...@@ -106,10 +106,11 @@ jobs: ...@@ -106,10 +106,11 @@ jobs:
validate-docs-links: validate-docs-links:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@v4 - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: 18 node-version: 18
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
npm i -g corepack@0.31 npm i -g corepack@0.31
...@@ -185,9 +186,9 @@ jobs: ...@@ -185,9 +186,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: ast-grep lint name: ast-grep lint
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: ast-grep lint step - name: ast-grep lint step
uses: ast-grep/action@v1.5.0 uses: ast-grep/action@cf62e780f0c88301228978d593a7784427a097a6 # v1.5.0
with: with:
# Keep in sync with the next.js repo's root package.json # Keep in sync with the next.js repo's root package.json
version: 0.31.0 version: 0.31.0
......
...@@ -148,7 +148,7 @@ jobs: ...@@ -148,7 +148,7 @@ jobs:
fnm env --json | jq -r 'to_entries|map("\(.key)=\(.value|tostring)")|.[]' | xargs -I {} echo "{}" >> $GITHUB_ENV fnm env --json | jq -r 'to_entries|map("\(.key)=\(.value|tostring)")|.[]' | xargs -I {} echo "{}" >> $GITHUB_ENV
- name: Normalize input step names into path key - name: Normalize input step names into path key
uses: actions/github-script@v7 uses: actions/github-script@d746ffe35508b1917358783b479e04febd2b8f71 # v9.0.0
id: var id: var
with: with:
script: | script: |
...@@ -185,7 +185,7 @@ jobs: ...@@ -185,7 +185,7 @@ jobs:
- run: rm -rf .git - run: rm -rf .git
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
fetch-depth: 25 fetch-depth: 25
...@@ -203,7 +203,7 @@ jobs: ...@@ -203,7 +203,7 @@ jobs:
- name: Install nextest - name: Install nextest
if: ${{ inputs.needsNextest == 'yes' }} if: ${{ inputs.needsNextest == 'yes' }}
uses: taiki-e/install-action@nextest uses: taiki-e/install-action@3a0adc33ab45d7b9b9da91822dd2b3c0151704be # nextest
- run: rustc --version - run: rustc --version
if: ${{ inputs.skipNativeBuild != 'yes' || inputs.needsNextest == 'yes' || inputs.needsRust == 'yes' }} if: ${{ inputs.skipNativeBuild != 'yes' || inputs.needsNextest == 'yes' || inputs.needsRust == 'yes' }}
...@@ -211,7 +211,7 @@ jobs: ...@@ -211,7 +211,7 @@ jobs:
- run: corepack prepare --activate yarn@1.22.19 && npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" - run: corepack prepare --activate yarn@1.22.19 && npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}"
- name: Cache on ${{ github.ref_name }} - name: Cache on ${{ github.ref_name }}
uses: ijjk/rust-cache@turbo-cache-v1.0.9 uses: ijjk/rust-cache@a34594c450817c9860143c79797a8770c4e587f5 # turbo-cache-v1.0.9
if: ${{ inputs.rustCacheKey }} if: ${{ inputs.rustCacheKey }}
with: with:
cache-provider: 'turbo' cache-provider: 'turbo'
...@@ -239,7 +239,7 @@ jobs: ...@@ -239,7 +239,7 @@ jobs:
- name: Upload next-swc artifact - name: Upload next-swc artifact
if: ${{ inputs.uploadSwcArtifact == 'yes' }} if: ${{ inputs.uploadSwcArtifact == 'yes' }}
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: next-swc-binary name: next-swc-binary
path: packages/next-swc/native/next-swc.linux-x64-gnu.node path: packages/next-swc/native/next-swc.linux-x64-gnu.node
...@@ -287,14 +287,14 @@ jobs: ...@@ -287,14 +287,14 @@ jobs:
timeout-minutes: ${{ inputs.timeout_minutes }} timeout-minutes: ${{ inputs.timeout_minutes }}
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: turbo-run-summary-${{ steps.var.outputs.input_step_key }} name: turbo-run-summary-${{ steps.var.outputs.input_step_key }}
path: .turbo/runs path: .turbo/runs
if-no-files-found: ignore if-no-files-found: ignore
- name: Upload bundle analyzer artifacts - name: Upload bundle analyzer artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: ${{ inputs.uploadAnalyzerArtifacts == 'yes' }} if: ${{ inputs.uploadAnalyzerArtifacts == 'yes' }}
with: with:
name: webpack bundle analysis stats-${{ steps.var.outputs.input_step_key }} name: webpack bundle analysis stats-${{ steps.var.outputs.input_step_key }}
...@@ -325,7 +325,7 @@ jobs: ...@@ -325,7 +325,7 @@ jobs:
fi fi
- name: Upload Playwright Snapshots - name: Upload Playwright Snapshots
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: ${{ inputs.afterBuild && always() }} if: ${{ inputs.afterBuild && always() }}
with: with:
name: test-playwright-snapshots-${{ steps.var.outputs.input_step_key }} name: test-playwright-snapshots-${{ steps.var.outputs.input_step_key }}
......
...@@ -11,7 +11,7 @@ jobs: ...@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 2 timeout-minutes: 2
steps: steps:
- uses: styfle/cancel-workflow-action@0.12.1 - uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
with: with:
workflow_id: 444921, 444987, 57419851 workflow_id: 444921, 444987, 57419851
access_token: ${{ github.token }} access_token: ${{ github.token }}
...@@ -27,10 +27,11 @@ jobs: ...@@ -27,10 +27,11 @@ jobs:
environment: release-${{ github.event.inputs.releaseType }} environment: release-${{ github.event.inputs.releaseType }}
steps: steps:
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: 18 node-version: 18
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
npm i -g corepack@0.31 npm i -g corepack@0.31
...@@ -42,6 +43,7 @@ jobs: ...@@ -42,6 +43,7 @@ jobs:
- name: tune linux network - name: tune linux network
run: sudo ethtool -K eth0 tx off rx off run: sudo ethtool -K eth0 tx off rx off
- run: node ./scripts/code-freeze.js --type ${{ github.event.inputs.type }} - run: node ./scripts/code-freeze.js --type "${INPUT_TYPE}"
env: env:
CODE_FREEZE_TOKEN: ${{ secrets.CODE_FREEZE_TOKEN }} CODE_FREEZE_TOKEN: ${{ secrets.CODE_FREEZE_TOKEN }}
INPUT_TYPE: ${{ github.event.inputs.type }}
...@@ -30,14 +30,15 @@ jobs: ...@@ -30,14 +30,15 @@ jobs:
steps: steps:
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: 18 node-version: 18
check-latest: true check-latest: true
package-manager-cache: false
- name: Create GitHub App token - name: Create GitHub App token
id: release-app-token id: release-app-token
uses: actions/create-github-app-token@v3 uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with: with:
client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }} client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }} private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }}
...@@ -76,7 +77,7 @@ jobs: ...@@ -76,7 +77,7 @@ jobs:
- id: get-store-path - id: get-store-path
run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT
- uses: actions/cache@v4 - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
timeout-minutes: 5 timeout-minutes: 5
id: cache-pnpm-store id: cache-pnpm-store
with: with:
......
...@@ -40,12 +40,15 @@ jobs: ...@@ -40,12 +40,15 @@ jobs:
steps: steps:
- name: Optimize CI - name: Optimize CI
id: check-skip id: check-skip
uses: withgraphite/graphite-ci-action@main uses: withgraphite/graphite-ci-action@ee395f3a78254c006d11339669c6cabddf196f72 # main
with: with:
graphite_token: ${{ secrets.GRAPHITE_TOKEN }} graphite_token: ${{ secrets.GRAPHITE_TOKEN }}
- name: Debug Output - name: Debug Output
run: | run: |
echo 'github.event_name: ${{ github.event_name }}' echo 'github.event_name: ${{ github.event_name }}'
echo "secrets.GRAPHITE_TOKEN != '': ${{ secrets.GRAPHITE_TOKEN != '' }}" echo "secrets.GRAPHITE_TOKEN != '': ${GRAPHITE_TOKEN}"
echo 'env.HAS_BYPASS_LABEL: ${{ env.HAS_BYPASS_LABEL }}' echo 'env.HAS_BYPASS_LABEL: ${{ env.HAS_BYPASS_LABEL }}'
echo 'steps.check-skip.outputs.skip: ${{ steps.check-skip.outputs.skip }}' echo 'steps.check-skip.outputs.skip: ${{ steps.check-skip.outputs.skip }}'
env:
GRAPHITE_TOKEN: ${{ secrets.GRAPHITE_TOKEN != '' }}
...@@ -154,7 +154,7 @@ jobs: ...@@ -154,7 +154,7 @@ jobs:
pull-requests: write pull-requests: write
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Collect integration test stat - name: Collect integration test stat
uses: ./.github/actions/next-integration-stat uses: ./.github/actions/next-integration-stat
...@@ -162,7 +162,7 @@ jobs: ...@@ -162,7 +162,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- name: Store artifacts - name: Store artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with: with:
name: test-results-${{ inputs.name }} name: test-results-${{ inputs.name }}
path: | path: |
......
...@@ -18,7 +18,7 @@ jobs: ...@@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository_owner == 'vercel' if: github.repository_owner == 'vercel'
steps: steps:
- uses: dessant/lock-threads@v5 - uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
with: with:
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
add-issue-labels: 'locked' add-issue-labels: 'locked'
......
...@@ -10,7 +10,7 @@ jobs: ...@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository_owner == 'vercel' if: github.repository_owner == 'vercel'
steps: steps:
- uses: actions/stale@v9 - uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
id: issue-stale id: issue-stale
name: 'Mark stale issues, close stale issues' name: 'Mark stale issues, close stale issues'
with: with:
...@@ -26,7 +26,7 @@ jobs: ...@@ -26,7 +26,7 @@ jobs:
stale-issue-message: 'This issue has been automatically marked as stale due to inactivity. It will be closed in 7 days unless there’s further input. If you believe this issue is still relevant, please leave a comment or provide updated details. Thank you.' stale-issue-message: 'This issue has been automatically marked as stale due to inactivity. It will be closed in 7 days unless there’s further input. If you believe this issue is still relevant, please leave a comment or provide updated details. Thank you.'
close-issue-message: 'This issue has been automatically closed due to inactivity. If you’re still experiencing a similar problem or have additional details to share, please open a new issue following our current issue template. Your updated report helps us investigate and address concerns more efficiently. Thank you for your understanding!' close-issue-message: 'This issue has been automatically closed due to inactivity. If you’re still experiencing a similar problem or have additional details to share, please open a new issue following our current issue template. Your updated report helps us investigate and address concerns more efficiently. Thank you for your understanding!'
operations-per-run: 300 # 1 operation per 100 issues, the rest is to label/comment/close operations-per-run: 300 # 1 operation per 100 issues, the rest is to label/comment/close
- uses: actions/stale@v9 - uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
id: stale-no-repro id: stale-no-repro
name: 'Close stale issues with no reproduction' name: 'Close stale issues with no reproduction'
with: with:
...@@ -41,7 +41,7 @@ jobs: ...@@ -41,7 +41,7 @@ jobs:
stale-issue-label: 'stale' stale-issue-label: 'stale'
labels-to-add-when-unstale: 'not stale' labels-to-add-when-unstale: 'not stale'
operations-per-run: 300 # 1 operation per 100 issues, the rest is to label/comment/close operations-per-run: 300 # 1 operation per 100 issues, the rest is to label/comment/close
- uses: actions/stale@v9 - uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
id: stale-simple-repro id: stale-simple-repro
name: 'Close issues with no simple repro' name: 'Close issues with no simple repro'
with: with:
...@@ -56,7 +56,7 @@ jobs: ...@@ -56,7 +56,7 @@ jobs:
stale-issue-label: 'stale' stale-issue-label: 'stale'
labels-to-add-when-unstale: 'not stale' labels-to-add-when-unstale: 'not stale'
operations-per-run: 300 # 1 operation per 100 issues, the rest is to label/comment/close operations-per-run: 300 # 1 operation per 100 issues, the rest is to label/comment/close
- uses: actions/stale@v9 - uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
id: stale-no-canary id: stale-no-canary
name: 'Close issues not verified on canary' name: 'Close issues not verified on canary'
with: with:
......
...@@ -9,8 +9,10 @@ jobs: ...@@ -9,8 +9,10 @@ jobs:
if: github.event.label.name == 'please use the correct issue template' if: github.event.label.name == 'please use the correct issue template'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@v4 - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
npm i -g corepack@0.31 npm i -g corepack@0.31
......
...@@ -10,8 +10,10 @@ jobs: ...@@ -10,8 +10,10 @@ jobs:
if: github.repository_owner == 'vercel' if: github.repository_owner == 'vercel'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@v4 - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
npm i -g corepack@0.31 npm i -g corepack@0.31
......
...@@ -40,7 +40,7 @@ jobs: ...@@ -40,7 +40,7 @@ jobs:
timeout-minutes: 25 timeout-minutes: 25
runs-on: ubuntu-latest-16-core-oss runs-on: ubuntu-latest-16-core-oss
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
fetch-depth: 25 fetch-depth: 25
...@@ -48,7 +48,7 @@ jobs: ...@@ -48,7 +48,7 @@ jobs:
run: echo "DOCS_CHANGE<<EOF" >> $GITHUB_OUTPUT; echo "$(node scripts/run-for-change.js --not --type docs --exec echo 'nope')" >> $GITHUB_OUTPUT; echo 'EOF' >> $GITHUB_OUTPUT run: echo "DOCS_CHANGE<<EOF" >> $GITHUB_OUTPUT; echo "$(node scripts/run-for-change.js --not --type docs --exec echo 'nope')" >> $GITHUB_OUTPUT; echo 'EOF' >> $GITHUB_OUTPUT
id: docs-change id: docs-change
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
with: with:
name: next-swc-binary name: next-swc-binary
......
...@@ -48,7 +48,7 @@ jobs: ...@@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: send webhook - name: send webhook
uses: slackapi/slack-github-action@v1.25.0 uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0
with: with:
payload: | payload: |
{ {
......
...@@ -48,7 +48,7 @@ jobs: ...@@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: send webhook - name: send webhook
uses: slackapi/slack-github-action@v1.25.0 uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0
with: with:
# These urls are intentionally missing the protocol, # These urls are intentionally missing the protocol,
# allowing them to be transformed into actual links in the Slack workflow # allowing them to be transformed into actual links in the Slack workflow
......
...@@ -14,17 +14,18 @@ jobs: ...@@ -14,17 +14,18 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
# Commits made with the default `GITHUB_TOKEN` won't trigger workflows. # Commits made with the default `GITHUB_TOKEN` won't trigger workflows.
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }} token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
...@@ -54,17 +55,18 @@ jobs: ...@@ -54,17 +55,18 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
# Commits made with the default `GITHUB_TOKEN` won't trigger workflows. # Commits made with the default `GITHUB_TOKEN` won't trigger workflows.
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }} token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
......
...@@ -21,16 +21,16 @@ jobs: ...@@ -21,16 +21,16 @@ jobs:
output1: ${{ steps.build-next-swc-turbopack-patch.outputs.success }} output1: ${{ steps.build-next-swc-turbopack-patch.outputs.success }}
steps: steps:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ inputs.nodeVersion || env.NODE_LTS_VERSION }} node-version: ${{ inputs.nodeVersion || env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
- name: Get number of CPU cores - name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v2 uses: SimenB/github-actions-cpu-cores@97ba232459a8e02ff6121db9362b09661c875ab8 # v2.0.0
id: cpu-cores id: cpu-cores
- name: 'Setup Rust toolchain' - name: 'Setup Rust toolchain'
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9 # stable
- name: Display runner information - name: Display runner information
run: echo runner cpu count ${{ steps.cpu-cores.outputs.count }} run: echo runner cpu count ${{ steps.cpu-cores.outputs.count }}
...@@ -50,24 +50,24 @@ jobs: ...@@ -50,24 +50,24 @@ jobs:
run: echo "Checking out Next.js ${{ env.NEXTJS_VERSION }}" run: echo "Checking out Next.js ${{ env.NEXTJS_VERSION }}"
- name: Checkout Next.js - name: Checkout Next.js
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
repository: vercel/next.js repository: vercel/next.js
ref: ${{ env.NEXTJS_VERSION }} ref: ${{ env.NEXTJS_VERSION }}
- name: Checkout failed test lists - name: Checkout failed test lists
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
repository: vercel/turbo repository: vercel/turbo
ref: nextjs-integration-test-data ref: nextjs-integration-test-data
path: integration-test-data path: integration-test-data
- name: Download binary - name: Download binary
uses: actions/download-artifact@v4 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
path: artifacts path: artifacts
- uses: actions/cache/restore@v3 - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
id: restore-build id: restore-build
with: with:
path: | path: |
...@@ -113,7 +113,7 @@ jobs: ...@@ -113,7 +113,7 @@ jobs:
# it is too heavyweight for the purpose since we do not need to persist # it is too heavyweight for the purpose since we do not need to persist
# the cache across multiple runs. # the cache across multiple runs.
- name: Store next.js build cache with next-swc - name: Store next.js build cache with next-swc
uses: actions/cache/save@v3 uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
id: cache-build id: cache-build
with: with:
path: | path: |
......
...@@ -32,16 +32,17 @@ jobs: ...@@ -32,16 +32,17 @@ jobs:
if: inputs.os == 'windows' if: inputs.os == 'windows'
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Rust - name: Setup Rust
uses: ./.github/actions/setup-rust uses: ./.github/actions/setup-rust
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- run: corepack enable - run: corepack enable
# We need to install the dependencies for the benchmark apps # We need to install the dependencies for the benchmark apps
......
...@@ -36,10 +36,11 @@ jobs: ...@@ -36,10 +36,11 @@ jobs:
next-version: ${{ steps.version.outputs.value }} next-version: ${{ steps.version.outputs.value }}
steps: steps:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup pnpm - name: Setup pnpm
run: | run: |
...@@ -47,7 +48,7 @@ jobs: ...@@ -47,7 +48,7 @@ jobs:
corepack enable corepack enable
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
fetch-depth: 25 fetch-depth: 25
...@@ -94,13 +95,13 @@ jobs: ...@@ -94,13 +95,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Report test results to datadog name: Report test results to datadog
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
sparse-checkout: | sparse-checkout: |
.github .github
- name: Download test report artifacts - name: Download test report artifacts
uses: actions/download-artifact@v4 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
pattern: test-reports-* pattern: test-reports-*
path: test path: test
...@@ -134,7 +135,7 @@ jobs: ...@@ -134,7 +135,7 @@ jobs:
run: gh auth status run: gh auth status
env: env:
GITHUB_TOKEN: ${{ secrets.GH_UPDATE_NEXT_WORKFLOW_TRIGGER }} GITHUB_TOKEN: ${{ secrets.GH_UPDATE_NEXT_WORKFLOW_TRIGGER }}
- uses: actions/github-script@v7 - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
name: Check if target workflow is enabled name: Check if target workflow is enabled
id: check-workflow-enabled id: check-workflow-enabled
with: with:
...@@ -157,7 +158,7 @@ jobs: ...@@ -157,7 +158,7 @@ jobs:
console.info(`Target workflow enabled: ${isEnabled}`); console.info(`Target workflow enabled: ${isEnabled}`);
return isEnabled ? 'true' : 'false'; return isEnabled ? 'true' : 'false';
- uses: actions/github-script@v7 - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
name: Create draft PR for vercel/${{ matrix.repo }} name: Create draft PR for vercel/${{ matrix.repo }}
id: create-draft-pr id: create-draft-pr
if: steps.check-workflow-enabled.outputs.result == 'true' if: steps.check-workflow-enabled.outputs.result == 'true'
...@@ -205,7 +206,7 @@ jobs: ...@@ -205,7 +206,7 @@ jobs:
run: gh auth status run: gh auth status
env: env:
GITHUB_TOKEN: ${{ secrets.GH_UPDATE_NEXT_WORKFLOW_TRIGGER }} GITHUB_TOKEN: ${{ secrets.GH_UPDATE_NEXT_WORKFLOW_TRIGGER }}
- uses: actions/github-script@v7 - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
name: Check if target workflow is enabled name: Check if target workflow is enabled
id: check-workflow-enabled id: check-workflow-enabled
with: with:
...@@ -233,7 +234,7 @@ jobs: ...@@ -233,7 +234,7 @@ jobs:
console.error('Error checking workflow status:', error); console.error('Error checking workflow status:', error);
return 'false'; return 'false';
} }
- uses: actions/github-script@v7 - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
name: Mark PR ready for review in vercel/${{ matrix.repo }} name: Mark PR ready for review in vercel/${{ matrix.repo }}
id: mark-pr-ready id: mark-pr-ready
if: steps.check-workflow-enabled.outputs.result == 'true' if: steps.check-workflow-enabled.outputs.result == 'true'
......
...@@ -27,7 +27,7 @@ jobs: ...@@ -27,7 +27,7 @@ jobs:
matrix: matrix:
node: [18, 20] node: [18, 20]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
fetch-depth: 25 fetch-depth: 25
# https://github.com/actions/virtual-environments/issues/1187 # https://github.com/actions/virtual-environments/issues/1187
...@@ -35,10 +35,11 @@ jobs: ...@@ -35,10 +35,11 @@ jobs:
run: sudo ethtool -K eth0 tx off rx off run: sudo ethtool -K eth0 tx off rx off
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: 18 node-version: 18
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
npm i -g corepack@0.31 npm i -g corepack@0.31
......
...@@ -23,7 +23,7 @@ jobs: ...@@ -23,7 +23,7 @@ jobs:
github.event.issue.type.name != 'Documentation' github.event.issue.type.name != 'Documentation'
}} }}
steps: steps:
- uses: balazsorban44/nissuer@1.10.0 - uses: balazsorban44/nissuer@92ef22afd6a75e5e588f5d689a1fd3433f596f82 # 1.10.0
with: with:
label-area-prefix: '' label-area-prefix: ''
label-area-match: 'name' label-area-match: 'name'
...@@ -38,7 +38,7 @@ jobs: ...@@ -38,7 +38,7 @@ jobs:
} }
reproduction-comment: '.github/comments/invalid-link.md' reproduction-comment: '.github/comments/invalid-link.md'
reproduction-hosts: 'github.com,bitbucket.org,gitlab.com,codesandbox.io,stackblitz.com' reproduction-hosts: 'github.com,bitbucket.org,gitlab.com,codesandbox.io,stackblitz.com'
reproduction-blocklist: 'github.com/vercel/next.js.*,github.com/\\w*/?$,github.com$' reproduction-blocklist: 'github.com/vercel/next.js.*,github.com/\w*/?$,github.com$'
reproduction-link-section: '### Link to the code that reproduces this issue(.*)### To Reproduce' reproduction-link-section: '### Link to the code that reproduces this issue(.*)### To Reproduce'
reproduction-invalid-label: 'invalid link' reproduction-invalid-label: 'invalid link'
reproduction-issue-labels: 'bug,' reproduction-issue-labels: 'bug,'
......
...@@ -46,14 +46,15 @@ jobs: ...@@ -46,14 +46,15 @@ jobs:
steps: steps:
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: 18 node-version: 18
check-latest: true check-latest: true
package-manager-cache: false
- name: Create GitHub App token - name: Create GitHub App token
id: release-app-token id: release-app-token
uses: actions/create-github-app-token@v3 uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with: with:
client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }} client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }} private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }}
...@@ -107,20 +108,16 @@ jobs: ...@@ -107,20 +108,16 @@ jobs:
- id: get-store-path - id: get-store-path
run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT
- uses: actions/cache@v4 - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
timeout-minutes: 5 timeout-minutes: 5
id: cache-pnpm-store id: cache-pnpm-store
with: with:
path: ${{ steps.get-store-path.outputs.STORE_PATH }} path: ${{ steps.get-store-path.outputs.STORE_PATH }}
key: pnpm-store-${{ hashFiles('pnpm-lock.yaml') }} key: pnpm-store-v2-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: | # Do not use restore-keys since it leads to indefinite growth of the cache.
pnpm-store-
pnpm-store-${{ hashFiles('pnpm-lock.yaml') }}
- run: pnpm install - run: pnpm install
- run: pnpm run build
- run: node ./scripts/start-release.js --release-type "${INPUT_RELEASETYPE}" --semver-type "${INPUT_SEMVERTYPE}" - run: node ./scripts/start-release.js --release-type "${INPUT_RELEASETYPE}" --semver-type "${INPUT_SEMVERTYPE}"
env: env:
RELEASE_GITHUB_TOKEN: ${{ steps.release-app-token.outputs.token }} RELEASE_GITHUB_TOKEN: ${{ steps.release-app-token.outputs.token }}
......
...@@ -49,7 +49,7 @@ jobs: ...@@ -49,7 +49,7 @@ jobs:
environment: release-${{ github.event.inputs.releaseType }} environment: release-${{ github.event.inputs.releaseType }}
steps: steps:
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
...@@ -93,7 +93,7 @@ jobs: ...@@ -93,7 +93,7 @@ jobs:
- id: get-store-path - id: get-store-path
run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT
- uses: actions/cache@v4 - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
timeout-minutes: 5 timeout-minutes: 5
id: cache-pnpm-store id: cache-pnpm-store
with: with:
......
...@@ -33,13 +33,13 @@ jobs: ...@@ -33,13 +33,13 @@ jobs:
name: Benchmark Rust Crates (tiny) name: Benchmark Rust Crates (tiny)
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Rust toolchain - name: Setup Rust toolchain
uses: ./.github/actions/setup-rust uses: ./.github/actions/setup-rust
- name: Install cargo-codspeed - name: Install cargo-codspeed
uses: taiki-e/install-action@v2 uses: taiki-e/install-action@7627fb428e65e78e2ec9a24ae5c5bd5f8553f182 # v2.69.10
with: with:
tool: cargo-codspeed@2.10.1 tool: cargo-codspeed@2.10.1
...@@ -47,7 +47,7 @@ jobs: ...@@ -47,7 +47,7 @@ jobs:
run: cargo codspeed build -p next-api run: cargo codspeed build -p next-api
- name: Run the benchmarks - name: Run the benchmarks
uses: CodSpeedHQ/action@v3 uses: CodSpeedHQ/action@1c8ae4843586d3ba879736b7f6b7b0c990757fab # v4.12.1
with: with:
run: cargo codspeed run run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }} token: ${{ secrets.CODSPEED_TOKEN }}
...@@ -56,18 +56,18 @@ jobs: ...@@ -56,18 +56,18 @@ jobs:
name: Benchmark Rust Crates (small apps) name: Benchmark Rust Crates (small apps)
runs-on: ubuntu-latest-16-core-oss runs-on: ubuntu-latest-16-core-oss
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Rust toolchain - name: Setup Rust toolchain
uses: ./.github/actions/setup-rust uses: ./.github/actions/setup-rust
- name: Install cargo-codspeed - name: Install cargo-codspeed
uses: taiki-e/install-action@v2 uses: taiki-e/install-action@7627fb428e65e78e2ec9a24ae5c5bd5f8553f182 # v2.69.10
with: with:
tool: cargo-codspeed@2.10.1 tool: cargo-codspeed@2.10.1
- name: Cache on ${{ github.ref_name }} - name: Cache on ${{ github.ref_name }}
uses: ijjk/rust-cache@turbo-cache-v1.0.9 uses: ijjk/rust-cache@a34594c450817c9860143c79797a8770c4e587f5 # turbo-cache-v1.0.9
with: with:
save-if: 'true' save-if: 'true'
cache-provider: 'turbo' cache-provider: 'turbo'
...@@ -84,7 +84,7 @@ jobs: ...@@ -84,7 +84,7 @@ jobs:
run: cargo codspeed build -p turbopack-cli small_apps run: cargo codspeed build -p turbopack-cli small_apps
- name: Run the benchmarks - name: Run the benchmarks
uses: CodSpeedHQ/action@v3 uses: CodSpeedHQ/action@1c8ae4843586d3ba879736b7f6b7b0c990757fab # v4.12.1
with: with:
run: cargo codspeed run run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }} token: ${{ secrets.CODSPEED_TOKEN }}
...@@ -94,13 +94,13 @@ jobs: ...@@ -94,13 +94,13 @@ jobs:
if: ${{ github.event.label.name == 'benchmark' || github.event_name == 'workflow_dispatch' }} if: ${{ github.event.label.name == 'benchmark' || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest-16-core-oss runs-on: ubuntu-latest-16-core-oss
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Rust toolchain - name: Setup Rust toolchain
uses: ./.github/actions/setup-rust uses: ./.github/actions/setup-rust
- name: Install cargo-codspeed - name: Install cargo-codspeed
uses: taiki-e/install-action@v2 uses: taiki-e/install-action@7627fb428e65e78e2ec9a24ae5c5bd5f8553f182 # v2.69.10
with: with:
tool: cargo-codspeed@2.10.1 tool: cargo-codspeed@2.10.1
...@@ -108,7 +108,7 @@ jobs: ...@@ -108,7 +108,7 @@ jobs:
run: cargo codspeed build -p turbopack -p turbopack-bench run: cargo codspeed build -p turbopack -p turbopack-bench
- name: Run the benchmarks - name: Run the benchmarks
uses: CodSpeedHQ/action@v3 uses: CodSpeedHQ/action@1c8ae4843586d3ba879736b7f6b7b0c990757fab # v4.12.1
with: with:
run: cargo codspeed run run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }} token: ${{ secrets.CODSPEED_TOKEN }}
...@@ -14,17 +14,18 @@ jobs: ...@@ -14,17 +14,18 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
# Commits made with the default `GITHUB_TOKEN` won't trigger workflows. # Commits made with the default `GITHUB_TOKEN` won't trigger workflows.
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }} token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
...@@ -50,17 +51,18 @@ jobs: ...@@ -50,17 +51,18 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
# Commits made with the default `GITHUB_TOKEN` won't trigger workflows. # Commits made with the default `GITHUB_TOKEN` won't trigger workflows.
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }} token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
......
...@@ -16,17 +16,18 @@ jobs: ...@@ -16,17 +16,18 @@ jobs:
if: github.repository_owner == 'vercel' if: github.repository_owner == 'vercel'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
# Commits made with the default `GITHUB_TOKEN` won't trigger workflows. # Commits made with the default `GITHUB_TOKEN` won't trigger workflows.
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }} token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
......
...@@ -22,7 +22,7 @@ jobs: ...@@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
# Commits made with the default `GITHUB_TOKEN` won't trigger workflows. # Commits made with the default `GITHUB_TOKEN` won't trigger workflows.
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
...@@ -34,10 +34,11 @@ jobs: ...@@ -34,10 +34,11 @@ jobs:
git config user.email "it+nextjs-bot@vercel.com" git config user.email "it+nextjs-bot@vercel.com"
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- name: Setup corepack - name: Setup corepack
run: | run: |
......
...@@ -19,13 +19,14 @@ jobs: ...@@ -19,13 +19,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
package-manager-cache: false
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup corepack - name: Setup corepack
run: | run: |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment