Skip to content

v1.18.1

v1.18.1 #18

Workflow file for this run

name: deploy
on:
release:
types: [published]
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: actions/cache@v3
with:
path: |
~/.npm
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- run: npm ci
- name: deploy to vscode marketplace & open-vsx
env:
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
OVSX_TOKEN: ${{ secrets.OVSX_TOKEN }}
run: |
npx vsce publish -p $VSCE_TOKEN
npx ovsx publish -p $OVSX_TOKEN