chore(deps-dev): bump semver from 5.7.1 to 5.7.2 #246
Workflow file for this run
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: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 'latest' | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build | |
run: pnpm run build | |
- name: Lint | |
run: pnpm run lint --max-warnings=0 | |
- name: Type check | |
run: pnpm run typecheck | |
- name: Test | |
run: pnpm run test --coverage | |
- name: Test E2E | |
run: | | |
pnpm exec cypress install | |
pnpm run test:e2e-ci | |
env: | |
WAIT_ON_TIMEOUT: 60000 # 60s | |
- name: Upload artifacts | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: cypress-artifacts | |
path: | | |
cypress/images | |
cypress/videos | |
if-no-files-found: ignore |