Skip to content

Commit

Permalink
chore: some fixes at publish job
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed Jun 2, 2024
1 parent 9097844 commit 8e9e639
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.x

- uses: oven-sh/setup-bun@v1
- run: npm install
Expand All @@ -26,8 +26,16 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: oven-sh/setup-bun@v1

- name: Build
run: bun run package

- name: Publish
if: success()
run: npm run deploy
run: bun run deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 comments on commit 8e9e639

Please sign in to comment.