This repository was archived by the owner on Mar 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +53
-3
lines changed Expand file tree Collapse file tree 1 file changed +53
-3
lines changed Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
9
9
jobs :
10
- build :
10
+ test :
11
11
runs-on : ubuntu-latest
12
12
13
+ name : ' Test: node-18, ubuntu-latest'
13
14
steps :
14
15
- name : Checkout
15
16
uses : actions/checkout@v3
@@ -36,14 +37,63 @@ jobs:
36
37
- name : Install dependencies
37
38
run : pnpm install --frozen-lockfile
38
39
40
+ - name : Check
41
+ run : pnpm run check
42
+
43
+ - name : Test
44
+ run : pnpm run test
45
+
46
+ lint :
47
+ runs-on : ubuntu-latest
48
+ name : ' Lint: node-18, ubuntu-latest'
49
+ steps :
50
+ - name : Checkout
51
+ uses : actions/checkout@v3
52
+ with :
53
+ fetch-depth : 0
54
+
55
+ - name : Install pnpm
56
+ uses : pnpm/action-setup@v2
57
+ with :
58
+ version : 7
59
+
60
+ - name : Set node version to 18
61
+ uses : actions/setup-node@v3
62
+ with :
63
+ node-version : 18
64
+ cache : ' pnpm'
65
+
66
+ - name : Prepare
67
+ run : pnpm install --frozen-lockfile
68
+
39
69
- name : Lint
40
70
run : pnpm run lint
41
71
42
72
- name : Check formatting
43
73
run : pnpm prettier --check .
44
74
45
- - name : Check
46
- run : pnpm run check
75
+ audit :
76
+ runs-on : ubuntu-latest
77
+ name : ' Audit: node-18, ubuntu-latest'
78
+ steps :
79
+ - name : Checkout
80
+ uses : actions/checkout@v3
81
+ with :
82
+ fetch-depth : 0
83
+
84
+ - name : Install pnpm
85
+ uses : pnpm/action-setup@v2
86
+ with :
87
+ version : 7
88
+
89
+ - name : Set node version to 18
90
+ uses : actions/setup-node@v3
91
+ with :
92
+ node-version : 18
93
+ cache : ' pnpm'
94
+
95
+ - name : Prepare
96
+ run : pnpm install --frozen-lockfile
47
97
48
98
- name : Audit production
49
99
run : pnpm audit --prod
You can’t perform that action at this time.
0 commit comments