-
Notifications
You must be signed in to change notification settings - Fork 13
48 lines (37 loc) · 969 Bytes
/
JScrewIt.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
47
48
name: JScrewIt Node.js CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16.x
- run: npm install --workspaces
- run: npm run --workspaces make
- run: npm install
- run: gulp lint
- run: gulp bundle:lib
- uses: actions/upload-artifact@v2
with:
name: lib
path: lib
test:
name: test (Node.js ${{ matrix.node-version }})
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [0.10.x, 0.12.x, 4.x, 6.x, 8.x, 10.x, 12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm install ebdd expectations mocha@3 postrequire
- uses: actions/download-artifact@v2
with:
name: lib
path: lib
- run: npm test