Skip to content

Publish

Publish #28

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 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
uses: lannonbr/vsce-action@3.0.0
with:
args: "publish -p $VSCE_TOKEN --no-dependencies"
env:
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}