Skip to content

Commit 4ffc4ac

Browse files
committed
add unit test before publish
1 parent 89cda93 commit 4ffc4ac

9 files changed

+1283
-9
lines changed

.github/workflows/publish.yml

+12
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,19 @@ on:
88
types: [published]
99

1010
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
- uses: actions/setup-node@v3
16+
with:
17+
node-version: 18
18+
- run: npm ci
19+
- run: npm run test
20+
1121
publish-vsce:
22+
needs: test
23+
if: ${{ success() }}
1224
runs-on: ubuntu-latest
1325
steps:
1426
- uses: actions/checkout@v3

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ node_modules
55
*.vsix
66
*.log
77
.DS_Store
8-
.test
8+
!test
9+
test/**
10+
!test/**.test.js

.vscodeignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.vscode/**
22
.gitignore
33
CHANGELOG.md
4-
.test/**
4+
test/**

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ Fixed for any bug fixes.
99
Security to invite users to upgrade in case of vulnerabilities.
1010
-->
1111

12+
## 1.7.0 - 2023/02/27
13+
14+
### Added
15+
16+
- Unit test before publish task
17+
1218
## 1.6.4 - 2023/02/25
1319

1420
### Fixed

build/extension.js

Whitespace-only changes.

0 commit comments

Comments
 (0)