Skip to content

chore(deps): bump @cypress/request and cypress #114

chore(deps): bump @cypress/request and cypress

chore(deps): bump @cypress/request and cypress #114

Workflow file for this run

name: CI
on:
# CD workflow is responsible for building and release on push to master
pull_request_target:
types: [labeled]
jobs:
build:
name: Build
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'safe to test')
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://[email protected]
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14
- name: Install dependencies
run: |
npm ci
- name: Lint
run: |
npm run lint
- name: Coverage
# Could be replaced with coverage-all if you want to ensure new files are tested as well
run: |
npm run coverage
npm run coverage:report
env:
NODE_ENV: test
- name: E2E-tests
uses: cypress-io/github-action@v2
with:
build: npm run build
env:
NODE_ENV: test
- name: Upload coverage to CodeCov
uses: codecov/codecov-action@v1
continue-on-error: true
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
directory: coverage