tests.yml
This file
Path
.github/workflows/tests.yml
31 lines · 872 bytes · YAML
Last changed by
Pin GitHub actions with hash (#2521)John Geebefore adoptiona752ed9
History of this fileTake it
The walk stopped after 200 commits: lines older than 471ec40 point at it.
Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
lines 1–2why, one step back1name: build2Pin GitHub actions with hash (#2521)John Geebefore adoptiona752ed9
line 3why, one step back3on: [push, pull_request, workflow_dispatch]Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
lines 4–14why, one step back45permissions:6 contents: read78jobs:9 test:10 name: Test on node ${{ matrix.node-version }} and ${{ matrix.os }}11 runs-on: ${{ matrix.os }}12 strategy:13 fail-fast: false14 matrix:Drop EOL node 20 from test matrix, and add node 26 (#2520)John Geebefore adoption74d5dfe
line 15why, one step back15 node-version: [22.x, 24.x, 26.x]Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
lines 16–18why, one step back16 os: [ubuntu-latest, windows-latest, macos-latest]1718 steps:Pin GitHub actions with hash (#2521)John Geebefore adoptiona752ed9
line 19why, one step back19 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
line 20why, one step back20 - name: Use Node.js ${{ matrix.node-version }}Pin GitHub actions with hash (#2521)John Geebefore adoptiona752ed9
line 21why, one step back21 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0Add copyInheritedSettings to README (#1798)John Geebefore adoption471ec40
lines 22–29why, one step back22 with:23 cache: 'npm'24 node-version: ${{ matrix.node-version }}25 # Use separate run commands so command status handled correctly on Windows26 - name: npm install27 run: npm ci28 - name: npm test29 run: npm testFeature/run all checks (#2210)John Geebefore adoption3fa29f7
lines 30–31why, one step back30 - name: npm run check31 run: npm run check