Skip to content

Test merge to master restriction - DO NOT MERGE #1241

Test merge to master restriction - DO NOT MERGE

Test merge to master restriction - DO NOT MERGE #1241

Workflow file for this run

name: Test Develop
on:
pull_request:
branches: [develop]
jobs:
build-test:
if: github.event.pull_request.draft == false
runs-on: neodash-runners
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Creating Neo4j Container
run: |
chmod +x ./scripts/docker-neo4j-initializer/docker-neo4j.sh
./scripts/docker-neo4j-initializer/docker-neo4j.sh
sleep 30s
chmod +x ./scripts/docker-neo4j-initializer/start-movies-db.sh
./scripts/docker-neo4j-initializer/start-movies-db.sh
- run: yarn install
- name: Eslint check
run: yarn run lint
- name: Cypress run
uses: cypress-io/github-action@v4
with:
build: yarn run build
start: yarn run prod
wait-on: 'http://localhost:3000'
browser: chrome
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3