main.yml
This file
Path
.github/workflows/main.yml
45 lines · 1.6 KiB · YAML
Last changed by
TweaksSindre Sorhusbefore adoption54d7404
History of this fileTake it
The walk stopped after 200 commits: lines older than 9f65b86 point at it.
100% test coverage (#1018)ehmickybefore adoption9f65b86
lines 1–12why, one step back1name: CI2on:3 - push4 - pull_request5jobs:6 test:7 name: Node.js ${{ matrix.node-version }} on ${{ matrix.os }}8 runs-on: ${{ matrix.os }}-latest9 strategy:10 fail-fast: false11 matrix:12 node-version:Update test coverage for Node.js 26 (#1242)Sindre Sorhusbefore adoption68986b7
line 13why, one step back13 - 26Fix Node 24-specific deprecation warning (#1199)ehmickybefore adoption1ac5b91
line 14why, one step back14 - 24Require Node.js 22 (#1243)Sindre Sorhusbefore adoption04b4454
line 15why, one step back15 - 22100% test coverage (#1018)ehmickybefore adoption9f65b86
lines 16–20why, one step back16 os:17 - ubuntu18 - macos19 - windows20 steps:Require Node.js 22 (#1243)Sindre Sorhusbefore adoption04b4454
line 21why, one step back21 - uses: actions/cache@v6Send fewer requests with link checking (#1122)ehmickybefore adoption8ae6975
lines 22–25why, one step back22 with:23 path: .lycheecache24 key: cache-lychee-${{ github.sha }}25 restore-keys: cache-lychee-Require Node.js 22 (#1243)Sindre Sorhusbefore adoption04b4454
line 26why, one step back26 - uses: actions/checkout@v7TweaksSindre Sorhusbefore adoption54d7404
line 27why, one step back27 - uses: actions/setup-node@v7100% test coverage (#1018)ehmickybefore adoption9f65b86
lines 28–30why, one step back28 with:29 node-version: ${{ matrix.node-version }}30 - run: npm installRequire Node.js 22 (#1243)Sindre Sorhusbefore adoption04b4454
line 31why, one step back31 - uses: lycheeverse/lychee-action@v2Automatically check Markdown links (#1120)ehmickybefore adoption4044152
line 32why, one step back32 with:Add `{value: 'pipe', input: true}` to use an additional file descriptor as input (#1246)Sindre Sorhusbefore adoption487a3a4
line 33why, one step back33 args: --cache --verbose --no-progress --include-fragments --exclude packagephobia --exclude /pull/ --exclude depot.dev --exclude linkedin --exclude stackoverflow --exclude stackexchange --exclude github.com/nodejs/node --exclude github.com/denoland/deno --exclude file:///test --exclude invalid.com '*.md' 'docs/*.md' '.github/**/*.md' '*.json' '*.js' 'lib/**/*.js' 'test/**/*.js' '*.ts' 'test-d/**/*.ts'Automatically check Markdown links (#1120)ehmickybefore adoption4044152
line 34why, one step back34 fail: trueUpdate test coverage for Node.js 26 (#1242)Sindre Sorhusbefore adoption68986b7
line 35why, one step back35 if: ${{ matrix.os == 'ubuntu' && matrix.node-version == 26 }}Split CI jobs (#1052)ehmickybefore adoption733d6ff
line 36why, one step back36 - run: npm run lintRequire Node.js 22 (#1243)Sindre Sorhusbefore adoption04b4454
line 37why, one step back37 if: ${{ matrix.os == 'ubuntu' && matrix.node-version == 26 }}Split CI jobs (#1052)ehmickybefore adoption733d6ff
lines 38–39why, one step back38 - run: npm run type39 - run: npm run unit100% test coverage (#1018)ehmickybefore adoption9f65b86
lines 40–45why, one step back40 - uses: codecov/codecov-action@v441 with:42 token: ${{ secrets.CODECOV_TOKEN }}43 flags: '${{ matrix.os }}, node-${{ matrix.node-version }}'44 fail_ci_if_error: false45 verbose: true