File tree 3 files changed +507
-529
lines changed
3 files changed +507
-529
lines changed Original file line number Diff line number Diff line change 1
1
name : Unit Test
2
2
3
- on : [push, pull_request]
3
+ on :
4
+ - push
5
+ - pull_request
4
6
5
7
jobs :
6
- test :
8
+ cache-and-install :
7
9
runs-on : ubuntu-latest
8
10
9
- strategy :
10
- matrix :
11
- node-version : [18.x]
12
-
13
11
steps :
14
- - uses : actions/checkout@main
15
- - uses : pnpm/action-setup@v2
12
+ - name : Checkout
13
+ uses : actions/checkout@v4
14
+
15
+ - uses : pnpm/action-setup@v4
16
+ name : Install pnpm
16
17
with :
17
- version : 8
18
- - name : Use Node.js ${{ matrix.node-version }}
19
- uses : actions/setup-node@main
18
+ version : 9
19
+ run_install : false
20
+
21
+ - name : Install Node.js
22
+ uses : actions/setup-node@v4
20
23
with :
21
- node-version : ${{ matrix.node-version }}
22
- cache : " pnpm"
24
+ node-version : 20
25
+ cache : ' pnpm'
26
+
23
27
- name : Install dependencies
24
- run : pnpm install --frozen-lockfile
25
- - name : Format code
28
+ run : pnpm install
29
+
30
+ - name : Format Code
26
31
run : pnpm format
27
- - name : Run tests
32
+
33
+ - name : Test
28
34
run : pnpm test
Original file line number Diff line number Diff line change 4
4
"description" : " A remark plugin to parse Obsidian callouts." ,
5
5
"main" : " dist/index.js" ,
6
6
"type" : " module" ,
7
- "packageManager" : " pnpm@9.5.0 " ,
7
+ "packageManager" : " pnpm@9.7.1 " ,
8
8
"scripts" : {
9
9
"build" : " tsc --project tsconfig.build.json" ,
10
10
"test" : " vitest" ,
You can’t perform that action at this time.
0 commit comments