Skip to content

Commit

Permalink
Merge pull request #29 from varvikko/test-workflow
Browse files Browse the repository at this point in the history
Add workflow for tests
  • Loading branch information
sneikki authored Feb 2, 2023
2 parents cb4eaac + 072e8ee commit 2eef688
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Testing

on:
pull_request:
branches:
- master

jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 19
cache: npm

- run: npm ci
- run: make test
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ fix-scss:
.PHONY: clean
clean:
rm -rf build/

.PHONY: test
test:
npx jest

0 comments on commit 2eef688

Please sign in to comment.