Skip to content

Commit be61f56

Browse files
author
Lars Kölpin-Freese
committed
chore: add action for testing
1 parent 3481a14 commit be61f56

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/actions/build-and-test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
name: Build and test
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
jobs:
9+
buildAndTest:
10+
name: Build and test (Node.js v${{ matrix.node-version }})
11+
timeout-minutes: 15
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
node-version: [14]
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Install Node.js
19+
uses: actions/setup-node@v2
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- name: Install install dependencies
23+
run: npm ci
24+
- name: test
25+
run: npm test
26+

0 commit comments

Comments
 (0)