Skip to content

Commit

Permalink
fix: fix node version and publish ext to marketplace
Browse files Browse the repository at this point in the history
  • Loading branch information
itszeeshan committed Aug 30, 2024
1 parent a5d49e1 commit 336909e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22

- name: Install dependencies
run: npm ci --cache ../.npm --prefer-offline
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22

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

- name: Publish to VSCode Extension Marketplace
uses: lannonbr/vsce-action@3.0.0
with:
args: "publish -p $VSCE_PAT"
args: "publish -p $PUBLISHER_TOKEN"
env:
PUBLISHER_TOKEN: ${{ secrets.VSCE_PAT }}
9 changes: 1 addition & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,4 @@ jobs:
- name: Run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run release

- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
files: '*.vsix'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run release

0 comments on commit 336909e

Please sign in to comment.