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.
2 parents 8c6cbbe + b2fba9b commit dc19bdcCopy full SHA for dc19bdc
.github/workflows/release.yml
@@ -0,0 +1,26 @@
1
+on:
2
+ release:
3
+ types: [created]
4
+
5
+env:
6
+ NODE_VERSION: '12.x'
7
+ VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
8
9
+jobs:
10
+ build-and-deploy:
11
+ name: Build and Deploy
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ - name: Use Node.js ${{ env.NODE_VERSION }}
16
+ uses: actions/setup-node@v1
17
+ with:
18
+ node-version: ${{ env.NODE_VERSION }}
19
+ - name: npm install, build, and test
20
+ run: |
21
+ npm install
22
+ npm run build --if-present
23
+ npm run test --if-present
24
+ - name: 'Deploy to Azure WebApp'
25
26
+ npm publish -p $VSCE_TOKEN
0 commit comments