We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5a9187 commit 69b4af7Copy full SHA for 69b4af7
1 file changed
.github/workflows/release-publish.yaml
@@ -0,0 +1,32 @@
1
+name: Release and Publish
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v2
14
+ - name: Setup Node.js
15
+ uses: actions/setup-node@v1
16
+ with:
17
+ node-version: 16
18
+ - name: Install the dependencies
19
+ run: npm install
20
21
+ - name: Install vsce
22
+ run: npm install -g vsce
23
24
+ - name: Release
25
+ env:
26
+ GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
27
+ run: npx semantic-release
28
29
+ - name: Publish
30
+ run: vsce publish -p $VSCE_TOKEN
31
32
+ VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
0 commit comments