Repository navigation
71 lines (56 loc) 路 1.87 KB
/
Copy pathpull-request.yml
File metadata and controls
71 lines (56 loc) 路 1.87 KB
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
67
68
69
70
71
name: Test Suite
on: [pull_request]
permissions:
contents: read
jobs:
Node_Tests_Windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
with:
persist-credentials: false
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
with:
node-version-file: '.nvmrc'
- name: Get npm cache directory
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup
run: |
npm ci
npx gulp build
- run: npx gulp test_node
Full_Suite_Mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
with:
persist-credentials: false
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
with:
node-version-file: '.nvmrc'
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
with:
path: ~/.selenium-assistant
key: ${{ runner.os }}-selenium-assistant-${{ github.run_id }}
restore-keys: |
${{ runner.os }}-selenium-assistant-
- name: Setup
run: |
sudo safaridriver --enable
npm ci
npx gulp build
- run: npx gulp test