Skip to content

Workflow file for this run

error
on:

Check failure on line 2 in .github/workflows/cd.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cd.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
release:
types:
- created
jobs:
build-extension:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Publish
if: success() && startsWith(github.ref, 'refs/tags/')
run: |
cd client
yarn run package
yarn deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}