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

Commit 180d450

Browse files
authored
Merge pull request #109 from Lightning-Flow-Scanner/feature/tests-on-pull-request
test: hooks to test using ubuntu windows and mac
2 parents 8dc1a29 + 87ce792 commit 180d450

File tree

4 files changed

+185
-167
lines changed

4 files changed

+185
-167
lines changed

.github/workflows/test.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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: false
19+
matrix:
20+
os: [macos-latest, windows-latest]
21+
node-version: [18.x, 20.x]
22+
23+
timeout-minutes: 15
24+
steps:
25+
- name: Checkout Code
26+
uses: actions/checkout@v4
27+
- name: Install node
28+
uses: actions/[email protected]
29+
with:
30+
node-version: 20.x
31+
- name: Install dependencies and link
32+
run: npm ci
33+
- name: Run tests
34+
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)