File tree 6 files changed +3237
-10312
lines changed
6 files changed +3237
-10312
lines changed Original file line number Diff line number Diff line change 5
5
- " *"
6
6
pull_request :
7
7
branches :
8
- - master
8
+ - main
9
9
10
10
jobs :
11
11
build :
12
12
name : Perform tests
13
13
runs-on : ubuntu-latest
14
14
strategy :
15
15
matrix :
16
- node-version : [16.x]
16
+ node-version : [18.x]
17
+
17
18
steps :
18
- - uses : actions/checkout@v3
19
- - name : Setup Node
19
+ - name : Checkout 🛎️
20
+ uses : actions/checkout@v3
21
+
22
+ - name : Setup Node 🐢
20
23
uses : actions/setup-node@v3
21
24
with :
22
25
node-version : ${{ matrix.node-version }}
23
- cache : npm
26
+
27
+ - name : PNPM Setup 🟨
28
+ uses : pnpm/action-setup@v2
29
+ id : pnpm-install
30
+ with :
31
+ version : 8
32
+ run_install : false
33
+
34
+ - name : Get pnpm store directory 📁
35
+ id : pnpm-cache
36
+ shell : bash
37
+ run : |
38
+ echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
39
+
40
+ - uses : actions/cache@v3
41
+ name : Setup pnpm Cache ☁️
42
+ with :
43
+ path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
44
+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
45
+ restore-keys : |
46
+ ${{ runner.os }}-pnpm-store-
24
47
25
- - name : Install & Test
48
+ - name : Install & Test 🧪
26
49
run : |
27
- npm ci
28
- npm run test
29
-
50
+ pnpm install
51
+ pnpm test
52
+
30
53
- name : Upload coverage to Codecov
31
54
uses : codecov/codecov-action@v3
32
55
with :
Original file line number Diff line number Diff line change
1
+ shamefully-hoist = true
2
+ strict-peer-dependencies = false
Original file line number Diff line number Diff line change 13
13
"dictionaries" : [" jsdoc" ," closure" ]
14
14
},
15
15
"opts" : {
16
- "template" : " node_modules/better-docs " ,
16
+ "template" : " node_modules/clean-jsdoc-theme " ,
17
17
"readme" : " README.md" ,
18
18
"destination" : " docs"
19
19
},
You can’t perform that action at this time.
0 commit comments