File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,28 @@ jobs:
1616 - name : Set up Node.js
1717 uses : actions/setup-node@v2
1818 with :
19- node-version : " 14"
19+ node-version : " 20"
20+
21+ - name : Install pnpm
22+ uses : pnpm/action-setup@v4
23+ with :
24+ version : 9.x
25+
26+ - name : Cache dependencies
27+ id : cache-dependencies
28+ uses : actions/cache@v3
29+ with :
30+ path : ~/.pnpm-store
31+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
32+ restore-keys : |
33+ ${{ runner.os }}-pnpm-store-
2034
2135 - name : Install dependencies
36+ if : steps.cache-dependencies.outputs.cache-hit != 'true'
2237 run : pnpm install
2338
24- - name : Run tests
25- run : pnpm test
26-
2739 - name : Package extension
28- run : vsce package
40+ run : pnpm vscode:prepublish && pnpm vsce: package
2941
3042 - name : Publish to Marketplace
3143 env :
You can’t perform that action at this time.
0 commit comments