OH2-133 Add react-script required prefix to permissions env var #2248
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
push: | |
branches-ignore: | |
- 'develop' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Installing... | |
run: npm i | |
- name: Building... | |
env: | |
CI: false | |
run: npm run build | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Installing... | |
run: npm i | |
- name: Testing... | |
run: npm test | |
e2e: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
# https://github.com/cypress-io/github-action | |
- name: Cypress run | |
uses: cypress-io/github-action@v2 | |
with: | |
record: false | |
start: npm start | |
spec: cypress/integration/**/* | |
env: host=localhost,port=3000 | |
wait-on: "http://localhost:3000" |