Skip to content

Commit e91870f

Browse files
Added GitHub Action for tests
1 parent 98be892 commit e91870f

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/test.yml

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

0 commit comments

Comments
 (0)