Skip to content

Commit 0101f72

Browse files
authored
rename workflow files and build/retain .vsix in CI (#75)
1 parent baadf6e commit 0101f72

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed
File renamed without changes.

.github/workflows/webpack_ci renamed to .github/workflows/webpack_ci.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [16.x, 18.x]
15+
node-version: [16.x]
1616

1717
steps:
1818
- uses: actions/checkout@v3
@@ -22,7 +22,18 @@ jobs:
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424

25-
- name: Build
25+
- name: Build and package
2626
run: |
2727
npm install
2828
npx webpack
29+
npm install -g vsce
30+
vsce package
31+
32+
- name: Copy dist artifacts to staging directory
33+
run: mkdir staging && cp ./*.vsix staging
34+
35+
- name: Upload dist artifacts
36+
uses: actions/upload-artifact@v3
37+
with:
38+
name: Package
39+
path: staging

0 commit comments

Comments
 (0)