File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 6
6
steps :
7
7
- uses : actions/checkout@v3
8
8
- uses : actions/setup-node@v3
9
+ - uses : pnpm/action-setup@v2
9
10
with :
10
- node- version : 18
11
- - run : npm ci
12
- - run : npm run format:check
13
- - run : npm run lint
14
- - run : npm run test
15
- - run : npm run compile -- --noEmit
11
+ version : 8.4.0
12
+ - run : pnpm install --frozen-lockfile
13
+ - run : pnpm format:check
14
+ - run : pnpm lint
15
+ - run : pnpm test
16
+ - run : pnpm compile -- --noEmit
16
17
release :
17
18
needs : test
18
19
runs-on : ubuntu-latest
19
20
steps :
20
21
- uses : actions/checkout@v3
21
22
- uses : actions/setup-node@v3
23
+ - uses : pnpm/action-setup@v2
22
24
with :
23
- node- version : 18
24
- - run : npm ci
25
- - run : npx semantic-release
25
+ version : 8.4.0
26
+ - run : pnpm install --frozen-lockfile
27
+ - run : pnpx semantic-release
26
28
env :
27
29
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28
30
VSCE_PAT : ${{ secrets.VSCE_TOKEN }}
Original file line number Diff line number Diff line change 26
26
"compile" : " tsc" ,
27
27
"watch" : " tsc -watch" ,
28
28
"lint" : " eslint src --ext ts" ,
29
- "format:check" : " prettier --check . " ,
30
- "format" : " prettier --write . " ,
29
+ "format:check" : " prettier --check" ,
30
+ "format" : " prettier --write" ,
31
31
"test" : " jest" ,
32
32
"test:watch" : " jest --watch"
33
33
},
You can’t perform that action at this time.
0 commit comments