Configure Renovate #4
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: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node 12 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12.x | |
- name: Use cached node_modules | |
uses: actions/cache@v2 | |
with: | |
path: node_modules | |
key: nodeModules-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
nodeModules- | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build | |
run: npm i -g serve & yarn build | |
- name: Run E2E Tests | |
uses: cypress-io/github-action@v2 | |
with: | |
record: false | |
env: HOST=http://localhost:5000 | |
start: serve -s build | |
wait-on: http://localhost:5000 |