tests.yml
This file
Path
.github/workflows/tests.yml
31 lines · 763 bytes · YAML
Last changed by
ci: add 20.x to `node-version`abetomobefore adoptionfac9d8c
History of this fileTake it
The walk stopped after 200 commits: lines older than c7f5f78 point at it.
Drop travis and switch to GitHub Actions for build badge (#1393)John Geebefore adoption2f7aa33
line 1why, one step back1name: buildAllow partial argument descriptions (#1323)John Geebefore adoptionc7f5f78
lines 2–4why, one step back23on: [push, pull_request]4chore: Set permissions for GitHub actionsneilnaveenbefore adoption4094e22
lines 5–7why, one step back5permissions:6 contents: read7Allow partial argument descriptions (#1323)John Geebefore adoptionc7f5f78
lines 8–14why, one step back8jobs: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:ci: add 20.x to `node-version`abetomobefore adoptionfac9d8c
line 15why, one step back15 node-version: [14.x, 16.x, 18.x, 20.x]Allow partial argument descriptions (#1323)John Geebefore adoptionc7f5f78
lines 16–18why, one step back16 os: [ubuntu-latest, windows-latest, macos-latest]1718 steps:Bump actions/checkout from 2 to 3dependabot[bot]before adoption211ff69
line 19why, one step back19 - uses: actions/checkout@v3Allow partial argument descriptions (#1323)John Geebefore adoptionc7f5f78
line 20why, one step back20 - name: Use Node.js ${{ matrix.node-version }}Bump actions/setup-node from 2 to 3dependabot[bot]before adoptionbecb22f
line 21why, one step back21 uses: actions/setup-node@v3Allow partial argument descriptions (#1323)John Geebefore adoptionc7f5f78
line 22why, one step back22 with:Update github-actions (#1574)Matthieu MORELbefore adoption3f77e7e
line 23why, one step back23 cache: 'npm'Allow partial argument descriptions (#1323)John Geebefore adoptionc7f5f78
lines 24–31why, one step back24 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 test30 - name: npm run lint31 run: npm run lint