Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
kokororin committed Sep 1, 2023
1 parent 109179c commit 2bfddae
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,23 @@ jobs:
yarn global add @vscode/vsce ovsx
yarn install
- name: Run deploy script
run: |
npm run build
npx tsx ./scripts/deploy.ts
npm publish --ignore-scripts
vsce publish -p ${{ env.VSCE_TOKEN }}
ovsx publish -p ${{ env.OVSX_TOKEN }}
- name: Build
run: npm run build

# - name: Run Deploy
# run: npx tsx ./scripts/deploy.ts

- name: Publish to NPM
run: npm publish --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish to VSCE
run: vsce publish -p ${{ env.VSCE_TOKEN }}
env:
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}

- name: Publish to OVSX
run: OVSX_TOKEN: ${{ secrets.OVSX_TOKEN }}
env:
OVSX_TOKEN: ${{ secrets.OVSX_TOKEN }}

0 comments on commit 2bfddae

Please sign in to comment.