diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 67409a86b..00b4bb11d 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -22,7 +22,11 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 20.8.1 + # Action runs: using: node20 as defined in + # https://github.com/cypress-io/github-action/blob/master/action.yml + # Node.js minor version is aligned to + # https://github.com/actions/runner/blob/main/src/Misc/externals.sh + node-version: 20.18.0 - run: npm ci - run: npm run format - run: npm run build diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6235a9a4e..5e8aa48fe 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,7 @@ jobs: # https://github.com/cypress-io/github-action/blob/master/action.yml # Node.js minor version is aligned to # https://github.com/actions/runner/blob/main/src/Misc/externals.sh - node-version: 20.13.1 + node-version: 20.18.0 - run: npm ci - run: npm run format - run: npm run build