Skip to content

Merge pull request #20 from toyokumo/develop #142

Merge pull request #20 from toyokumo/develop

Merge pull request #20 from toyokumo/develop #142

Workflow file for this run

name: Test
on: push
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- name: CheckOut
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
version: 9
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: pnpm
cache-dependency-path: 'package.json'
- name: Install Packages
run: |
pnpm i
pnpm i --prefix tests/rules/react
pnpm i --prefix tests/rules/next
- name: lint
run: pnpm run lint
- name: format
run: pnpm run format:check
- name: test
run: pnpm run test