Skip to content

Commit

Permalink
NS-77 (#59)
Browse files Browse the repository at this point in the history
Adds pipiline with test runner
  • Loading branch information
mbielech authored Nov 7, 2020
1 parent 31fb29a commit 8bd03fe
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]

jobs:
build:
runs-on: ubuntu-latest
env:
frontend-folder: ./frontend

steps:
- uses: actions/checkout@v2

- name: Instal npm packages
run: npm install
working-directory: ${{env.frontend-folder}}

- name: Run application
run: npm start &
working-directory: ${{env.frontend-folder}}

- name: Run lint
run: npm run lint
working-directory: ${{env.frontend-folder}}

- name: Run cypress
run: npx cypress run
working-directory: ${{env.frontend-folder}}

0 comments on commit 8bd03fe

Please sign in to comment.