Skip to content

Cypress UI automated test cases of console #848

Cypress UI automated test cases of console

Cypress UI automated test cases of console #848

Workflow file for this run

name: Apollo CI
on:
pull_request:
branches: [ main ]
defaults:
run:
working-directory: ./packages/apollo
shell: bash
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 18.x
- run: npm ci --legacy-peer-deps
- run: npm run lint
audit:
name: NPM Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 16.x
- run: npm audit --production
build-code:
name: Build code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18.x
- run: npm ci --legacy-peer-deps
- run: npm run build
unit-tests:
name: Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18.x
- run: npm ci --legacy-peer-deps
- run: npm test