-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (56 loc) · 1.37 KB
/
test.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
name: Test
'on':
push: null
pull_request: null
jobs:
full:
name: Node.js 18 Full
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 7.5.1
run_install: false
- name: Install dependencies
run: make i
- name: Build with checks
run: make build
env:
FORCE_COLOR: 2
NEXT_TELEMETRY_DISABLED: 1
short:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 17
- 16
name: Node.js ${{ matrix.node-version }} Quick
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 7.5.1
run_install: false
- name: Install dependencies
run: make i
- name: Build without checks
run: pnpm run build
env:
FORCE_COLOR: 2
NEXT_TELEMETRY_DISABLED: 1