Skip to content

Publish

Publish #34

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 husky -g
- name: NPM Install
run: |
corepack pnpm install --frozen-lockfile --prod
cp -r node_modules ./dist/node_modules
corepack pnpm install --frozen-lockfile
- name: Build
run: |
npm run build
- name: Deploy
run: |
vsce publish -p $VSCE_TOKEN --no-dependencies
env:
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}