-
-
Notifications
You must be signed in to change notification settings - Fork 1
121 lines (115 loc) · 3.78 KB
/
pull-request.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
name: Run tests before merging
on:
pull_request:
types:
- opened
- synchronize
- reopened
branches:
- master
jobs:
run-tests-macos-18:
name: 'macOS (Node 18, Deno 1.36, Java 21)'
runs-on: macos-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
with:
node-version: '18'
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
with:
distribution: 'microsoft'
java-version: '21'
- uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba
with:
deno-version: '~1.36'
- run: npm ci
- run: npm run lint
- run: npm test
- run: deno test --import-map=import_map.json test
env:
DENO_NO_PACKAGE_JSON: 1
run-tests-windows-18:
name: 'Windows (Node 18, Deno 1.36, Java 21)'
runs-on: windows-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
with:
node-version: '18'
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
with:
distribution: 'semeru'
java-version: '21'
- uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba
with:
deno-version: '~1.36'
- run: npm ci
- run: npm run lint
- run: npm test
- run: deno test --import-map=import_map.json test
env:
DENO_NO_PACKAGE_JSON: 1
run-tests-ubuntu-18:
name: 'Ubuntu (Node 18, Deno 1.36, Java 21)'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
with:
node-version: '18'
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
with:
distribution: 'oracle'
java-version: '21'
- uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba
with:
deno-version: '~1.36'
- run: npm ci
- run: npm run lint
- run: npm test
- run: deno test --import-map=import_map.json test
env:
DENO_NO_PACKAGE_JSON: 1
run-tests-ubuntu-20:
name: 'Ubuntu (Node 20, Deno 1.40, Java 21)'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
with:
node-version: '20'
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
with:
distribution: 'corretto'
java-version: '21'
- uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba
with:
deno-version: '~1.40'
- run: npm ci
- run: npm run lint
- run: npm test
- run: deno test --import-map=import_map.json test
env:
DENO_NO_PACKAGE_JSON: 1
run-tests-ubuntu-22:
name: 'Ubuntu (Node 22, Deno 1.44, Java 21)'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
with:
node-version: '22'
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
with:
distribution: 'zulu'
java-version: '21'
- uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba
with:
deno-version: '~1.44'
- run: npm ci
- run: npm run lint
- run: npm test
- run: deno test --import-map=import_map.json test
env:
DENO_NO_PACKAGE_JSON: 1