We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1330834 commit 3b0ed04Copy full SHA for 3b0ed04
.github/workflows/test-js-unit.yml
@@ -0,0 +1,35 @@
1
+name: Test JS Unit
2
+
3
+on:
4
+ workflow_dispatch:
5
+ pull_request:
6
+ paths:
7
+ - src/js/**
8
+ # Once daily at 00:00 UTC.
9
+ # schedule:
10
+ # - cron: '0 0 * * *'
11
12
+concurrency:
13
+ group: ${{ github.workflow }}-${{ 'pull_request' == github.event_name && github.head_ref || github.sha }}
14
+ cancel-in-progress: true
15
16
+jobs:
17
+ test:
18
+ name: "Run JS Unit Tests"
19
+ runs-on: ubuntu-latest
20
21
+ steps:
22
+ - name: Checkout
23
+ uses: actions/checkout@v2
24
25
+ - name: Setup Node
26
+ uses: actions/setup-node@v2
27
+ with:
28
+ node-version: '16'
29
+ cache: 'npm'
30
31
+ - name: Install Node dependencies
32
+ run: npm ci
33
34
+ - name: Run test suite
35
+ run: npm run test:unit
0 commit comments