Skip to content
Myr

[actions] update action versions to use node 20

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Raphael Boidol · committed by Jordan Harband · parent c82e7a6 · Browse files · 8 files+31 added−26 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

8 files+31 added−26 removed

  • other:+31 added−26 removed

8 files+31 added−26 removed

modified:.github/workflows/latest-npm.yml+5 added-4 removed
modified:.github/workflows/lint.yml+8 added-8 removed
modified:.github/workflows/rebase.yml+2 added-2 removed
modified:.github/workflows/release.yml+6 added-3 removed
7 unmodified lines
8 contents: read9 runs-on: ubuntu-latest10 steps:11 - name: Harden Runner12 uses: step-security/harden-runner@v112 uses: step-security/harden-runner@v213 with:14 allowed-endpoints:15 github.com:44316 api.github.com:44317 objects.githubusercontent.com:44318 raw.githubusercontent.com:44319 registry.npmjs.org:44317 - uses: actions/checkout@v318 - uses: actions/setup-node@v320 - uses: actions/checkout@v421 - uses: actions/setup-node@v422 with:23 node-version: "14"24 - run: npm install25 - name: Configure git
10 unmodified lines
modified:.github/workflows/require-allow-edits.yml+1 added-1 removed
10 unmodified lines
11 runs-on: ubuntu-latest1213 steps:14 - name: Harden Runner15 uses: step-security/harden-runner@v115 uses: step-security/harden-runner@v216 with:17 allowed-endpoints:18 api.github.com:44319 - uses: ljharb/require-allow-edits@main
2 unmodified lines
modified:.github/workflows/shellcheck.yml+4 added-3 removed
25 unmodified lines
26 file: nvm-exec # only runs in bash2728 steps:29 - name: Harden Runner30 uses: step-security/harden-runner@v130 uses: step-security/harden-runner@v231 with:32 allowed-endpoints:33 ghcr.io:44334 github.com:44335 pkg-containers.githubusercontent.com:44336 formulae.brew.sh:44336 - uses: actions/checkout@v337 - uses: actions/checkout@v438 - name: Set up Homebrew39 uses: Homebrew/actions/setup-homebrew@master40 - name: Install latest shellcheck41 run: brew install shellcheck
10 unmodified lines
52 needs: [shellcheck_matrix]53 runs-on: ubuntu-latest54 steps:55 - name: Harden Runner55 uses: step-security/harden-runner@v156 uses: step-security/harden-runner@v257 with:58 egress-policy: block59 - run: 'echo tests completed'
modified:.github/workflows/tests.yml+2 added-2 removed
24 unmodified lines
25 # - install_script2627 steps:28 - name: Harden Runner29 uses: step-security/harden-runner@v129 uses: step-security/harden-runner@v230 with:31 allowed-endpoints:32 github.com:44333 registry.npmjs.org:44334 raw.githubusercontent.com:44335 nodejs.org:44336 iojs.org:44337 - uses: actions/checkout@v337 - uses: actions/checkout@v438 - run: sudo ${{ matrix.shell }} --version 2> /dev/null || dpkg -s ${{ matrix.shell }} 2> /dev/null || which ${{ matrix.shell }}39 - run: curl --version40 - run: wget --version41 - uses: ljharb/actions/node/run@main
15 unmodified lines
modified:.github/workflows/toc.yml+3 added-3 removed
10 unmodified lines
11 runs-on: ubuntu-latest1213 steps:14 - name: Harden Runner15 uses: step-security/harden-runner@v115 uses: step-security/harden-runner@v216 with:17 allowed-endpoints:18 github.com:44319 registry.npmjs.org:44320 - uses: actions/checkout@v320 - uses: actions/checkout@v421 with:22 # https://github.com/actions/checkout/issues/217#issue-59994500523 # pulls all commits (needed for lerna / semantic release to correctly version)24 fetch-depth: "0"2526 # pulls all tags (needed for lerna / semantic release to correctly version)27 - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*28 - uses: actions/setup-node@v328 - uses: actions/setup-node@v429 with:30 node-version: '16'31 - run: npm install32 - run: npm run doctoc
5 unmodified lines