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 e9f87a0 commit 375c59aCopy full SHA for 375c59a
.github/workflows/tests.yml
@@ -0,0 +1,40 @@
1
+name: tests
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ tests:
11
12
+ runs-on: ubuntu-latest
13
14
+ strategy:
15
+ matrix:
16
+ node-version: [ 16.x, 18.x, 20.x ]
17
18
+ steps:
19
+ - name: Checkout
20
+ uses: actions/checkout@v3
21
22
+ - name: Set up Python
23
+ uses: actions/setup-python@v2
24
25
+ - name: Install Tox
26
+ run: |
27
+ pip install --upgrade pip
28
+ pip install tox tox-gh-actions
29
30
+ - name: Set up Node
31
+ uses: actions/setup-node@v3
32
+ with:
33
+ node-version: ${{ matrix.node-version }}
34
+ registry-url: https://registry.npmjs.org/
35
36
+ - name: Install dependencies
37
+ run: npm install
38
39
+ - name: Run Tox Jest
40
+ run: tox -e main
0 commit comments