-
Notifications
You must be signed in to change notification settings - Fork 39
31 lines (28 loc) · 926 Bytes
/
tav.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
## TAV (test-all-versions) tests to test with multiple versions of deps.
name: tav
on:
workflow_dispatch: ~
schedule:
# Weekly on Monday, 16:00 UTC, so hopefully near my PST morning.
- cron: '0 16 * * 1'
permissions:
contents: read
jobs:
tav:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [10, 12, 14, 16, 18, 20, 22]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Update npm to at least v7 for workspaces support
if: ${{ matrix.node-version < 16 }} # node@16 comes with npm@8, node@14 with npm@6
run: npm install -g npm@7 # npm@7 supports node >=10
- name: Install dependencies
run: utils/run-install.sh
- name: TAV Node.js v${{ matrix.node-version }}
run: npm --workspaces run --if-present tav