Skip to content

Version 2.0.0

Version 2.0.0 #51

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
cypress:
runs-on: ubuntu-latest
name: 'Cypress: node-20, ubuntu-latest'
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: 9
- name: Set node version to 20
uses: actions/setup-node@v3
with:
node-version: 20
# cache: pnpm
# - name: Cache Cypress binary
# uses: actions/cache@v3
# with:
# path: ~/.cache/Cypress
# key: cypress-${{ hashFiles('**/package.json') }}
- name: Install
run: pnpm install
- name: Build
run: pnpm build
- name: Test
run: npx cypress run --component --record --key ${{ secrets.CYPRESS_KEY }}
lint:
runs-on: ubuntu-latest
name: 'Lint: node-20, ubuntu-latest'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pnpm/[email protected]
with:
version: 8
- name: Set node version to 20
uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
- name: Install
run: pnpm install
- name: Build
run: pnpm build
- name: Lint
run: pnpm lint
- name: Typecheck
run: pnpm typecheck