Skip to content

Publish

Publish #32

Workflow file for this run

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 }}