-
Notifications
You must be signed in to change notification settings - Fork 2
53 lines (51 loc) · 1.23 KB
/
main.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
name: Checks
on: [ push ]
jobs:
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/node18
- name: node version
run: node --version
- name: Lint
run: npm run lint
Node_14:
runs-on: ubuntu-latest
env:
NODE_ENV: test_lib
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/node14
- uses: browser-actions/setup-chrome@latest
- run: chrome --version
- name: node version
run: node --version
- name: Test
run: npm run test
Node_16:
runs-on: ubuntu-latest
env:
NODE_ENV: test_lib
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/node16
- uses: browser-actions/setup-chrome@latest
- run: chrome --version
- name: node version
run: node --version
- name: test
run: npm run test
Node_18:
runs-on: ubuntu-latest
env:
NODE_ENV: test_lib
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/node18
- uses: browser-actions/setup-chrome@latest
- run: chrome --version
- name: node version
run: node --version
- name: test
run: npm run test