Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Commit 3e0a829

Browse files
committed
test: hooks to test using ubuntu windows and mac
1 parent 8dc1a29 commit 3e0a829

File tree

4 files changed

+194
-167
lines changed

4 files changed

+194
-167
lines changed

.github/workflows/test.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Test
2+
3+
on: [pull_request]
4+
5+
permissions: read-all
6+
7+
concurrency:
8+
group: ${{ github.ref_name }}-${{ github.workflow }}
9+
cancel-in-progress: true
10+
11+
jobs:
12+
test:
13+
name: Test
14+
15+
runs-on: ${{ matrix.os }}
16+
17+
strategy:
18+
fail-fast: true
19+
matrix:
20+
os:
21+
[
22+
macos-latest,
23+
macos-13,
24+
ubuntu-latest,
25+
ubuntu-20.04,
26+
windows-latest,
27+
windows-2022,
28+
]
29+
node-version: [18.x, 20.x, 22.x]
30+
command: [install, ci]
31+
32+
timeout-minutes: 15
33+
steps:
34+
- name: Checkout Code
35+
uses: actions/checkout@v4
36+
- name: Install node
37+
uses: actions/[email protected]
38+
with:
39+
node-version: 20.x
40+
- name: Install dependencies and link
41+
run: npm ci
42+
- name: Run tests
43+
run: npm run wdio-test

.vscodeignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ vsc-extension-quickstart.md
88
**/.eslintrc.json
99
**/*.map
1010
**/*.ts
11-
node_modules
11+
node_modules
12+
.wdio-vscode-service
13+
**.vsix

0 commit comments

Comments
 (0)