Skip to content

Commit

Permalink
add publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelpuyol committed Aug 17, 2022
1 parent b607f2e commit aa64b8c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release
on:
release:
types:
- published
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
registry-url: https://registry.npmjs.org/

- name: Install the dependencies
run: npm i

- name: Install vsce
run: npm i -g vsce

- name: Publish
run: vsce publish -p ${{ secrets.VSCE_PAT }}

0 comments on commit aa64b8c

Please sign in to comment.