-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 938 Bytes
/
lint-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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