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 9feaa19 commit b93cc86Copy full SHA for b93cc86
.github/workflows/pr.yml
@@ -0,0 +1,25 @@
1
+name: Run tests
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ build:
10
+ strategy:
11
+ matrix:
12
+ os: [macos-latest, ubuntu-latest, windows-latest]
13
+ runs-on: ${{ matrix.os }}
14
+ steps:
15
+ - name: Checkout
16
+ uses: actions/checkout@v4
17
+ - name: Install Node.js
18
+ uses: actions/setup-node@v4
19
+ with:
20
+ node-version: 18.x
21
+ - run: npm install
22
+ - run: xvfb-run -a npm test
23
+ if: runner.os == 'Linux'
24
+ - run: npm test
25
+ if: runner.os != 'Linux'
0 commit comments