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

Commit c78c439

Browse files
authored
[#4] Fix release workflow (#5)
1 parent 1a08a48 commit c78c439

File tree

4 files changed

+502
-15
lines changed

4 files changed

+502
-15
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
- uses: actions/setup-node@v1
1414
with:
1515
node-version: 13
16-
- name: Install vsce
17-
run: yarn global add vsce
16+
- name: Install dependencies
17+
run: yarn install
1818
- name: Generate package
19-
run: vsce package
19+
run: yarn vsce package
2020
- name: Publish
21-
run: vsce publish -p $PERSONAL_ACCESS_TOKEN
21+
run: yarn vsce publish -p $PERSONAL_ACCESS_TOKEN
2222
env:
2323
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

.vscodeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.vscode/**
22
.vscode-test/**
3+
node_modules
34
.gitignore
45
vsc-extension-quickstart.md
56

package.json

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,28 @@
1212
"Programming Languages"
1313
],
1414
"contributes": {
15-
"languages": [{
16-
"id": "tony",
17-
"aliases": ["Tony", "tony"],
18-
"extensions": [".tn"],
19-
"configuration": "./language-configuration.json"
20-
}],
21-
"grammars": [{
22-
"language": "tony",
23-
"scopeName": "source.tony",
24-
"path": "./syntaxes/tony.tmLanguage.json"
25-
}]
15+
"languages": [
16+
{
17+
"id": "tony",
18+
"aliases": [
19+
"Tony",
20+
"tony"
21+
],
22+
"extensions": [
23+
".tn"
24+
],
25+
"configuration": "./language-configuration.json"
26+
}
27+
],
28+
"grammars": [
29+
{
30+
"language": "tony",
31+
"scopeName": "source.tony",
32+
"path": "./syntaxes/tony.tmLanguage.json"
33+
}
34+
]
35+
},
36+
"devDependencies": {
37+
"vsce": "^1.74.0"
2638
}
2739
}

0 commit comments

Comments
 (0)