Merge pull request #18 from toyokumo/develop #136
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: 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 |