Skip to content

Commit 2aa3a05

Browse files
committed
keep on trying with the actions config
1 parent 26e5515 commit 2aa3a05

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,14 @@ jobs:
3636
runs-on: ubuntu-latest
3737
needs: test
3838
steps:
39+
- uses: actions/checkout@v2
40+
- uses: actions/setup-node@v1
41+
with:
42+
node-version: 14
43+
registry-url: https://registry.npmjs.org/
44+
- name: Install vsce
45+
run: npm i -g vsce
46+
if: github.event_name == 'release'
3947
- name: Publish
48+
run: vsce publish -p ${{ secrets.VSCE_PAT }}
4049
if: github.event_name == 'release'
41-
run: npm run deploy
42-
env:
43-
VSCE_PAT: ${{ secrets.VSCE_PAT }}

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@
8888
"pretest": "npm run test-compile && npm run lint",
8989
"lint": "eslint src --ext ts",
9090
"test": "node ./out/test/runTest.js",
91-
"coverage": "rimraf .nyc_output && node ./out/test/runCoverage.js",
92-
"deploy": "vsce publish"
91+
"coverage": "rimraf .nyc_output && node ./out/test/runCoverage.js"
9392
},
9493
"devDependencies": {
9594
"@istanbuljs/nyc-config-typescript": "^1.0.1",
@@ -122,12 +121,11 @@
122121
"ts-loader": "^8.0.14",
123122
"ts-node": "^10.2.0",
124123
"typescript": "^4.1.3",
125-
"vsce": "^1.96.3",
126124
"vscode-test": "^1.5.0",
127125
"webpack": "^5.19.0",
128126
"webpack-cli": "^4.4.0"
129127
},
130128
"dependencies": {
131129
"csv-writer": "^1.6.0"
132130
}
133-
}
131+
}

0 commit comments

Comments
 (0)