Skip to content

Commit a2eb9bb

Browse files
committed
make sure we have updated node version
1 parent add604c commit a2eb9bb

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

.github/workflows/publish-extension.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,24 @@ jobs:
1616
- name: Setup Node.js
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version: '18'
19+
node-version: '22'
20+
21+
- name: Show Node/npm versions
22+
run: node -v && npm -v
23+
24+
- name: Cache root npm
25+
uses: actions/cache@v4
26+
with:
27+
path: ~/.npm
28+
key: ${{ runner.os }}-npm-cache-${{ hashFiles('package-lock.json') }}
29+
restore-keys: ${{ runner.os }}-npm-cache-
30+
31+
- name: Cache webview node_modules
32+
uses: actions/cache@v4
33+
with:
34+
path: webview-ui/node_modules
35+
key: ${{ runner.os }}-webview-node-modules-${{ hashFiles('webview-ui/package-lock.json') }}
36+
restore-keys: ${{ runner.os }}-webview-node-modules-
2037

2138
- name: Extract version from tag
2239
run: |

0 commit comments

Comments
 (0)