Skip to content

Commit b44ab15

Browse files
authored
Add basic build & test GH actions workflow (#1)
- Added basic integration with GH actions for building and testing the application -- npm dependencies installation is used with `--force` flag due to existing issue facebook/create-react-app#13071
1 parent 02b05ad commit b44ab15

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)