Skip to content

Commit b503e9d

Browse files
authored
Merge pull request #1035 from lumaxis/add-github-actions-workflow
Add GitHub Actions workflow file to run CI
2 parents fc299e9 + dfe8f57 commit b503e9d

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.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 tests
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
test:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4.1.1
19+
20+
- uses: actions/setup-node@v4.0.1
21+
with:
22+
node-version: 10
23+
cache: 'npm'
24+
25+
- name: Install dependencies
26+
run: npm ci
27+
28+
- name: Run tests
29+
run: npm test

0 commit comments

Comments
 (0)