This repository was archived by the owner on Jun 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +27
-3
lines changed
Expand file tree Collapse file tree 2 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 1+
2+ name : Publish Release
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ deploy :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Git Checkout
12+ uses : actions/checkout@v2
13+ with :
14+ ref : ${{ github.sha }}
15+ - uses : actions/setup-node@v2-beta
16+ with :
17+ node-version : " 12"
18+ - run : yarn install
19+ - name : Install VSCE
20+ run : yarn add vsce
21+ - name : Publish
22+ run : yarn vsce publish -p $VSCE_TOKEN
23+ env :
24+ VSCE_TOKEN : ${{ secrets.VSCE_TOKEN }}
Original file line number Diff line number Diff line change 2020 "scripts" : {
2121 "format" : " prettier --write ." ,
2222 "lint" : " prettier --check ." ,
23- "compile" : " webpack --mode production " ,
23+ "compile" : " webpack --mode development " ,
2424 "test" : " node ./src/tests/runTests.js" ,
25- "webpack" : " webpack --mode development" ,
2625 "watch" : " webpack --mode development --watch" ,
2726 "vscode:prepublish" : " webpack --mode production"
2827 },
2928 "activationEvents" : [
30- " onLanguage:typescriptreact"
29+ " onLanguage:typescriptreact" ,
30+ " onLanguage:javascriptreact"
3131 ],
3232 "contributes" : {
3333 "languages" : [
You can’t perform that action at this time.
0 commit comments