Skip to content

Commit 336909e

Browse files
committed
fix: fix node version and publish ext to marketplace
1 parent a5d49e1 commit 336909e

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Node.js
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: 18
22+
node-version: 22
2323

2424
- name: Install dependencies
2525
run: npm ci --cache ../.npm --prefer-offline

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
- name: Setup Node.js
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: 18
19+
node-version: 22
2020

2121
- name: Install dependencies
2222
run: npm ci --cache ../.npm --prefer-offline
2323

2424
- name: Publish to VSCode Extension Marketplace
2525
uses: lannonbr/[email protected]
2626
with:
27-
args: "publish -p $VSCE_PAT"
27+
args: "publish -p $PUBLISHER_TOKEN"
2828
env:
2929
PUBLISHER_TOKEN: ${{ secrets.VSCE_PAT }}

.github/workflows/release.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,4 @@ jobs:
2929
- name: Run semantic-release
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32-
run: npm run release
33-
34-
- name: Create GitHub Release
35-
uses: softprops/action-gh-release@v1
36-
with:
37-
files: '*.vsix'
38-
env:
39-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
run: npm run release

0 commit comments

Comments
 (0)