We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f66cc33 commit f6bcb2fCopy full SHA for f6bcb2f
.github/workflows/npm-test.yml
@@ -0,0 +1,34 @@
1
+name: npm-test
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches: [ "master" ]
7
+ pull_request:
8
9
10
+jobs:
11
+ test:
12
+ strategy:
13
+ matrix:
14
+ include:
15
+ - os: windows-latest
16
+ - os: ubuntu-latest
17
+ - os: macos-latest
18
+ runs-on: ${{ matrix.os }}
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ - uses: actions/setup-node@v4
22
+ with:
23
+ node-version: 20.x
24
+ cache: 'npm'
25
+ - uses: dtolnay/rust-toolchain@v1
26
27
+ toolchain: stable
28
+ - run: npm ci
29
+ - run: xvfb-run -a npm test
30
+ working-directory: ./vscode-extension
31
+ if: runner.os == 'Linux'
32
+ - run: npm test
33
34
+ if: runner.os != 'Linux'
0 commit comments