Publish #32
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
release: | |
types: | |
- created | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Global Dependencies | |
run: | | |
corepack install | |
npm install @electron/asar husky -g | |
- name: Asar | |
run: | | |
corepack pnpm install --frozen-lockfile --prod | |
npm run build:asar | |
- name: NPM Install | |
run: | | |
corepack pnpm install --frozen-lockfile | |
- name: Build | |
run: | | |
npm run build | |
- name: Deploy | |
run: | | |
npx vsce publish -p $VSCE_TOKEN --no-dependencies" | |
env: | |
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }} |