-
Notifications
You must be signed in to change notification settings - Fork 10
46 lines (44 loc) · 939 Bytes
/
test.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Test
on:
pull_request:
branches:
- master
jobs:
linux:
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
name: "Node ${{ matrix.node }} on Linux: Test"
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 10
- 12
- 14
- 16
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: bash run.sh
windows:
name: "Node ${{ matrix.node }} on Windows: Test"
runs-on: windows-latest
defaults:
run:
shell: bash
strategy:
matrix:
node:
- 10
- 12
- 14
- 16
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: bash run.sh