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 0495b42 commit 3112a1fCopy full SHA for 3112a1f
.github/workflows/pull-requests.yml
@@ -0,0 +1,34 @@
1
+name: Pull requests
2
+
3
+on:
4
+ pull_request:
5
6
+jobs:
7
+ unit-test:
8
+ runs-on: ubuntu-latest
9
+ defaults:
10
+ run:
11
+ working-directory: ./core
12
13
+ strategy:
14
+ matrix:
15
+ node:
16
+ - "current"
17
+ - "lts/*"
18
19
+ name: Run unit tests on Node ${{ matrix.node }}
20
21
+ steps:
22
+ - name: Checkout
23
+ uses: actions/checkout@v4
24
25
+ - name: Setup Node
26
+ uses: actions/setup-node@v4
27
+ with:
28
+ node-version: ${{ matrix.node }}
29
30
+ - name: Install Dependencies
31
+ run: npm install
32
33
+ - name: Run unit tests
34
+ run: npm test
0 commit comments