Skip to content

chore(deps): update jest monorepo to v29 (major) #882

chore(deps): update jest monorepo to v29 (major)

chore(deps): update jest monorepo to v29 (major) #882

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
main:
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['18.x']
os: [ubuntu-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- uses: pnpm/action-setup@v2
with:
version: latest
- name: Install
run: pnpm i
- name: Lint
run: pnpm lint
- name: Build
run: pnpm build
- name: Test
run: pnpm run test --ci --coverage --maxWorkers=2
# fails in windows because it uses crlf
prettier:
name: Check prettier on Node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['18.x']
os: [ubuntu-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- uses: pnpm/action-setup@v2
with:
version: latest
- name: Install
run: pnpm i
- name: Prettier(check)
run: pnpm prettier:base --check