sort-package-jsonをrootから一括で実行する #66
Workflow file for this run
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: Lint test | |
on: | |
push: | |
branches-ignore: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-24.04-arm | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: ./.github/actions/setup/pnpm | |
- name: Build packages | |
run: pnpm run build | |
- name: Setup ESLint cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
packages/eslint-config-browser/.eslintcache | |
packages/eslint-config-common/.eslintcache | |
packages/eslint-config-next/.eslintcache | |
packages/eslint-config-node/.eslintcache | |
packages/eslint-config-react/.eslintcache | |
packages/eslint-config-storybook/.eslintcache | |
key: ${{ runner.os }}-eslint-cache-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-eslint-cache- | |
- name: Lint Code | |
run: pnpm run lint:code |