-
Notifications
You must be signed in to change notification settings - Fork 43
66 lines (50 loc) · 1.19 KB
/
linux.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Continuous Integration Linux
on:
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [
# 10.13,
# 10.x,
11.0.0,
11.x,
12.0.0,
12.12.x,
12.x,
14.1.x,
14.14.x,
14.x,
15.0.0,
15.x,
16.0.0,
16.x,
17.0.0,
17.x,
18.0.0,
18.x,
]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: node -v
- run: npm -v
- run: node install-correct-pnpm-version.js
- run: yarn -v
- run: pnpm -v
# TODO
# we need to remove global test
- run: rm tests/global.test.ts
# we need to remove parcel before install dependencies
- run: rm package-lock.json
- run: npm uninstall parcel
# install dependencies without parcel
- run: npm install
- run: npm run ci:test