[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
Provenance
- Commit
c24c313- Tree
5cb7a93- Author
Raphael Boidol <boidolr@users.noreply.github.com>- Committer
Jordan Harband <ljharb@gmail.com>- Parent
c82e7a6
8 files changed+31 added−26 removed
modified:.github/workflows/latest-npm.yml+5 added-4 removed
7 unmodified lines891011121213141516171819202124 unmodified lines4647484949505152535455565757585960616212 unmodified lines7576777878798081827 unmodified lines outputs: latest: ${{ steps.set-matrix.outputs.requireds }} steps: - name: Harden Runner uses: step-security/harden-runner@v1 uses: step-security/harden-runner@v2 with: allowed-endpoints: iojs.org:443 nodejs.org:443 raw.githubusercontent.com:443 - uses: ljharb/actions/node/matrix@main id: set-matrix with: versionsAsRoot: true24 unmodified lines - node-version: "0.10"
steps: - name: Harden Runner uses: step-security/harden-runner@v1 uses: step-security/harden-runner@v2 with: allowed-endpoints: github.com:443 raw.githubusercontent.com:443 iojs.org:443 nodejs.org:443 registry.npmjs.org:443 - uses: actions/checkout@v3 - uses: actions/checkout@v4 - uses: ljharb/actions/node/install@main name: 'install node' with: node-version: ${{ matrix.node-version }}12 unmodified lines needs: [nodes] runs-on: ubuntu-latest steps: - name: Harden Runner uses: step-security/harden-runner@v1 uses: step-security/harden-runner@v2 with: egress-policy: block - run: 'echo tests completed'modified:.github/workflows/lint.yml+8 added-8 removed
6 unmodified lines7891011111213141516171818192021223 unmodified lines26272829303031323334353637383939404142433 unmodified lines4748495051515253545556575858596061623 unmodified lines66676869707071727374757576776 unmodified lines permissions: contents: read runs-on: ubuntu-latest steps: - uses: step-security/harden-runner@v1 - uses: step-security/harden-runner@v2 with: allowed-endpoints: github.com:443 raw.githubusercontent.com:443 nodejs.org:443 registry.npmjs.org:443 - uses: actions/checkout@v3 - uses: actions/checkout@v4 - uses: ljharb/actions/node/install@main name: 'nvm install ${{ matrix.node-version }} && npm install' with: node-version: 'lts/*'3 unmodified lines permissions: contents: read runs-on: ubuntu-latest steps: - uses: step-security/harden-runner@v1 - uses: step-security/harden-runner@v2 with: allowed-endpoints: ghcr.io:443 github.com:443 raw.githubusercontent.com:443 pkg-containers.githubusercontent.com:443 nodejs.org:443 registry.npmjs.org:443 - uses: actions/checkout@v3 - uses: actions/checkout@v4 - uses: ljharb/actions/node/install@main name: 'nvm install ${{ matrix.node-version }} && npm install' with: node-version: 'lts/*'3 unmodified lines permissions: contents: read runs-on: ubuntu-latest steps: - uses: step-security/harden-runner@v1 - uses: step-security/harden-runner@v2 with: allowed-endpoints: github.com:443 raw.githubusercontent.com:443 nodejs.org:443 registry.npmjs.org:443 - uses: actions/checkout@v3 - uses: actions/checkout@v4 - uses: ljharb/actions/node/install@main name: 'nvm install ${{ matrix.node-version }} && npm install' with: node-version: 'lts/*'3 unmodified lines permissions: contents: read runs-on: ubuntu-latest steps: - uses: step-security/harden-runner@v1 - uses: step-security/harden-runner@v2 with: allowed-endpoints: github.com:443 raw.githubusercontent.com:443 - uses: actions/checkout@v3 - uses: actions/checkout@v4 - name: check tests filenames run: ./rename_test.sh --checkmodified:.github/workflows/rebase.yml+2 added-2 removed
10 unmodified lines11121314151516171819202021222310 unmodified lines runs-on: ubuntu-latest
steps: - name: Harden Runner uses: step-security/harden-runner@v1 uses: step-security/harden-runner@v2 with: allowed-endpoints: api.github.com:443 github.com:443 - uses: actions/checkout@v3 - uses: actions/checkout@v4 - uses: ljharb/rebase@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}modified:.github/workflows/release.yml+6 added-3 removed
7 unmodified lines8 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 git10 unmodified linesmodified:.github/workflows/require-allow-edits.yml+1 added-1 removed
10 unmodified lines11 runs-on: ubuntu-latest12 13 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@main2 unmodified linesmodified:.github/workflows/shellcheck.yml+4 added-3 removed
25 unmodified lines26 file: nvm-exec # only runs in bash27 28 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 shellcheck10 unmodified lines52 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 lines25 # - install_script26 27 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@main15 unmodified linesmodified:.github/workflows/toc.yml+3 added-3 removed
10 unmodified lines11 runs-on: ubuntu-latest12 13 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"25 26 # 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 doctoc5 unmodified lines