Skip to content
Myr

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 file

Take 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 back
1name: build

Allow partial argument descriptions (#1323)John Geebefore adoptionc7f5f78

lines 2–4why, one step back
2
3on: [push, pull_request]4

chore: Set permissions for GitHub actionsneilnaveenbefore adoption4094e22

lines 5–7why, one step back
5permissions:
6 contents: read7

Allow partial argument descriptions (#1323)John Geebefore adoptionc7f5f78

lines 8–14why, one step back
8jobs:
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 back
15 node-version: [14.x, 16.x, 18.x, 20.x]

Allow partial argument descriptions (#1323)John Geebefore adoptionc7f5f78

lines 16–18why, one step back
16 os: [ubuntu-latest, windows-latest, macos-latest]
1718 steps:

Bump actions/checkout from 2 to 3dependabot[bot]before adoption211ff69

line 19why, one step back
19 - uses: actions/checkout@v3

Allow partial argument descriptions (#1323)John Geebefore adoptionc7f5f78

line 20why, one step back
20 - name: Use Node.js ${{ matrix.node-version }}

Bump actions/setup-node from 2 to 3dependabot[bot]before adoptionbecb22f

line 21why, one step back
21 uses: actions/setup-node@v3

Allow partial argument descriptions (#1323)John Geebefore adoptionc7f5f78

line 22why, one step back
22 with:

Update github-actions (#1574)Matthieu MORELbefore adoption3f77e7e

line 23why, one step back
23 cache: 'npm'

Allow partial argument descriptions (#1323)John Geebefore adoptionc7f5f78

lines 24–31why, one step back
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 test30 - name: npm run lint31 run: npm run lint