Skip to content

Commit 5004419

Browse files
committed
Update
1 parent d57fdd0 commit 5004419

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/nodejs-publish.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Node CI Publish
1+
name: Node CI
22

33
on:
44
release:
@@ -18,13 +18,17 @@ jobs:
1818
uses: actions/setup-node@v1
1919
with:
2020
node-version: ${{ matrix.node-version }}
21+
- name: Install vsce
22+
run: npm install -g vsce
23+
- name: Build extension
24+
run: |
25+
npm ci
26+
npm run compile
2127
- name: Package extension
2228
run: |
2329
tag=${GITHUB_REF#refs/tags/}
2430
echo "Setting package version $tag"
2531
npm --no-git-tag-version version "$tag"
26-
npm run compile
27-
npm install -g vsce
2832
vsce package
2933
- name: Publish extension to marketplace
3034
env:

0 commit comments

Comments
 (0)