Update eslint monorepo to v9.9.1 #422
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: build-test | |
on: | |
pull_request: | |
branches: main | |
push: | |
branches: main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Enable pnpm | |
run: corepack enable pnpm | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .node-version | |
cache: pnpm | |
- name: Install | |
run: pnpm install | |
- name: Check eslint | |
run: pnpm lint | |
- name: Build | |
run: pnpm build | |
- name: Check dist | |
run: git diff --exit-code |