Skip to content
Myr

latest-npm.yml

This file

Path

.github/workflows/latest-npm.yml

86 lines · 2.1 KiB · YAML

Last changed by

[actions] update outdated GitHub Actions versionsPadraic Slatterybefore adoption34d6d5d

History of this file

Take it

The walk stopped after 200 commits: lines older than 5c12680 point at it.

[Dev Deps] update `markdown-link-check`Jordan Harbandbefore adoption5c12680

lines 1–65why, one step back
1name: 'Tests: `nvm install-latest-npm`'
23on: [pull_request, push]45permissions:6 contents: read78jobs:9 matrix:10 runs-on: ubuntu-latest11 outputs:12 latest: ${{ steps.set-matrix.outputs.requireds }}13 steps:14 - name: Harden Runner15 uses: step-security/harden-runner@v216 with:17 allowed-endpoints:18 iojs.org:44319 nodejs.org:44320 raw.githubusercontent.com:44321 - uses: ljharb/actions/node/matrix@main22 id: set-matrix23 with:24 versionsAsRoot: true25 type: majors26 preset: '>=1'2728 nodes:29 needs: [matrix]30 permissions:31 contents: read32 name: 'nvm install-latest-npm'33 runs-on: ubuntu-latest3435 strategy:36 fail-fast: false37 matrix:38 node-version: ${{ fromJson(needs.matrix.outputs.latest) }}39 include:40 - node-version: "21"41 - node-version: "20.5"42 - node-version: "20.4"43 - node-version: "14.17"44 - node-version: "14.16"45 - node-version: "9.2"46 - node-version: "9.1"47 - node-version: "9.0"48 - node-version: "6.1"49 - node-version: "5.9"50 - node-version: "4.6"51 - node-version: "4.5"52 - node-version: "4.4"53 - node-version: "0.12"54 - node-version: "0.10"5556 steps:57 - name: Harden Runner58 uses: step-security/harden-runner@v259 with:60 allowed-endpoints:61 github.com:44362 raw.githubusercontent.com:44363 iojs.org:44364 nodejs.org:44365 registry.npmjs.org:443

[actions] update outdated GitHub Actions versionsPadraic Slatterybefore adoption34d6d5d

line 66why, one step back
66 - uses: actions/checkout@v6

[Dev Deps] update `markdown-link-check`Jordan Harbandbefore adoption5c12680

lines 67–86why, one step back
67 - uses: ljharb/actions/node/install@main
68 name: 'install node'69 with:70 node-version: ${{ matrix.node-version }}71 skip-ls-check: true72 skip-install: true73 skip-latest-npm: true74 - run: npm --version75 - run: '. ./nvm.sh ; nvm install-latest-npm'76 name: 'nvm install-latest-npm'77 - run: npm --version7879 node:80 permissions:81 contents: none82 name: 'nvm install-latest-npm'83 needs: [nodes]84 runs-on: ubuntu-latest85 steps:86 - run: true