Skip to content

chore(1.1.0): setup CI to publish on push #1

chore(1.1.0): setup CI to publish on push

chore(1.1.0): setup CI to publish on push #1

Workflow file for this run

name: "Publish Extension"

Check failure on line 1 in .github/workflows/publish.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yaml

Invalid workflow file

`pull-request` is not a valid event name
on:
pull-request:
branches:
- main
jobs:
publish:
name: Publish Extension to Marketplace
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Node.js
run: sudo apt update && sudo apt install nodejs
- name: Install vsce
run: npm install -g vsce
- name: Publish Extension
run: vsce publish -p ${{ secrets.PERSONAL_ACCESS_TOKEN }}