Skip to content

Commit 9db1784

Browse files
committed
Add basic build&test GH actions workflow
npm deps installation is used with "--force" due to existing issue facebook/create-react-app#13071
1 parent 02b05ad commit 9db1784

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Diff for: .github/workflows/main.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: "Build & test"
2+
on: [pull_request]
3+
jobs:
4+
build_and_test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v1
8+
- name: NPM install
9+
run: npm ci --force
10+
- name: Unit tests
11+
run: npm run test
12+
- name: Build
13+
run: npm run build

0 commit comments

Comments
 (0)