Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Commit 0e987b8

Browse files
committed
v1.0.0
1 parent 8ee95d9 commit 0e987b8

File tree

2 files changed

+27
-3
lines changed

2 files changed

+27
-3
lines changed

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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 }}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
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": [

0 commit comments

Comments
 (0)