Skip to content

Update react 18 + node + pnpm + next + jest + testing-library #599

Update react 18 + node + pnpm + next + jest + testing-library

Update react 18 + node + pnpm + next + jest + testing-library #599

Workflow file for this run

name: Main
on:
pull_request:
push:
branches: [main]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: 8.11.0
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- name: Build
run: pnpm -F @ensdomains/thorin build
lint:
name: Lint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: 8.11.0
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: pnpm install -no-frozen-lockfile
- name: build
run: pnpm -F @ensdomains/thorin build
- name: Lint
run: pnpm lint
- name: Check types
run: pnpm lint:types
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: 8.11.0
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: pnpm install -no-frozen-lockfile
- name: Test
run: pnpm run test --coverage