Skip to content

Commit 7749106

Browse files
Added GitHub workflow to run tests
1 parent 02d096c commit 7749106

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Run all tests
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
workflow_dispatch:
9+
10+
env:
11+
APPLITOOLS_API_KEY: ${{ secrets.APPLITOOLS_API_KEY }}
12+
13+
jobs:
14+
test:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
20+
- name: Install Node.js
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: 16
24+
25+
- name: Clean install the project
26+
run: npm ci
27+
28+
- name: Execute all tests
29+
run: npm test

0 commit comments

Comments
 (0)