File tree 1 file changed +32
-8
lines changed 1 file changed +32
-8
lines changed Original file line number Diff line number Diff line change 1
- name : Test & Release
1
+ name : Tests & Lint
2
2
3
3
on :
4
4
push :
7
7
pull_request :
8
8
9
9
jobs :
10
+ lint :
11
+ name : Lint
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout Repo
15
+ uses : actions/checkout@v4
16
+
17
+ - name : Setup Node 22
18
+ uses : actions/setup-node@v4
19
+ with :
20
+ node-version : 22
21
+ registry-url : https://registry.npmjs.org/
22
+
23
+ - name : Setup PNPM
24
+ uses : pnpm/action-setup@v3.0.0
25
+ with :
26
+ version : 8.12.1
27
+
28
+ - name : Install deps
29
+ run : pnpm install --frozen-lockfile
30
+
31
+ - name : Build package
32
+ run : pnpm package
33
+
34
+ - name : Lint
35
+ run : pnpm lint
36
+
37
+ - name : Astro & Svelte Check
38
+ run : pnpm check
39
+
10
40
tests :
11
41
name : Test
12
42
runs-on : ubuntu-latest
15
45
node : [18, 20, 22]
16
46
steps :
17
47
- name : Checkout Repo
18
- uses : actions/checkout@v2
48
+ uses : actions/checkout@v4
19
49
20
50
- name : Setup Node ${{ matrix.node }}
21
51
uses : actions/setup-node@v4
34
64
- name : Build package
35
65
run : pnpm package
36
66
37
- - name : Lint
38
- run : pnpm lint
39
-
40
- - name : Astro & Svelte Check
41
- run : pnpm check
42
-
43
67
- name : Test
44
68
run : pnpm test
45
69
You can’t perform that action at this time.
0 commit comments