Skip to content

Commit 7e67915

Browse files
authored
Fix: Fixed incorrect main path (#9)
out/extension.js -> dist/extension.js
1 parent 53c4656 commit 7e67915

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Release Extension
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*.*.*"
7+
8+
jobs:
9+
build-and-deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: "14"
20+
21+
- name: Install dependencies
22+
run: pnpm install
23+
24+
- name: Run tests
25+
run: pnpm test
26+
27+
- name: Package extension
28+
run: vsce package
29+
30+
- name: Publish to Marketplace
31+
env:
32+
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
33+
run: vsce publish

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"Other"
2525
],
2626
"activationEvents": [],
27-
"main": "./out/extension.js",
27+
"main": "./dist/extension.js",
2828
"contributes": {
2929
"commands": [
3030
{

0 commit comments

Comments
 (0)