We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0251d76 commit 94a82abCopy full SHA for 94a82ab
.github/workflows/tests.yml
@@ -0,0 +1,30 @@
1
+# This workflow will do a clean installation of node dependencies and run a mocha test
2
+# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3
+
4
+name: Tests
5
6
+on:
7
+ push:
8
+ branches: [ main ]
9
+ pull_request:
10
11
12
+jobs:
13
+ mocha:
14
15
+ runs-on: ubuntu-latest
16
17
+ strategy:
18
+ matrix:
19
+ node-version: [20]
20
+ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21
22
+ steps:
23
+ - uses: actions/checkout@v2
24
+ - name: Use Node.js ${{ matrix.node-version }}
25
+ uses: actions/setup-node@v2
26
+ with:
27
+ node-version: ${{ matrix.node-version }}
28
+ cache: 'npm'
29
+ - run: npm ci
30
+ - run: npm run test --if-present
0 commit comments