Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RedCMD committed May 11, 2022
1 parent e4179a7 commit af5cd87
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish Extension

on:
release:
types: [published]

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 af5cd87

Please sign in to comment.