fix(actions): fix lint-frontend

This commit is contained in:
psychedelicious 2023-12-09 00:41:46 +11:00
parent f17b3d0068
commit 5140056b59

View File

@ -25,9 +25,19 @@ jobs:
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '20' node-version: '20'
- uses: actions/checkout@v4 - name: Checkout
- run: 'pnpm install --prefer-frozen-lockfile' uses: actions/checkout@v4
- run: 'pnpm run lint:tsc' - name: Setup pnpm
- run: 'pnpm run lint:madge' uses: pnpm/action-setup@v2
- run: 'pnpm run lint:eslint' with:
- run: 'pnpm run lint:prettier' version: 8
- name: Install dependencies
run: 'pnpm install --prefer-frozen-lockfile'
- name: Typescript
run: 'pnpm run lint:tsc'
- name: Madge
run: 'pnpm run lint:madge'
- name: ESLint
run: 'pnpm run lint:eslint'
- name: Prettier
run: 'pnpm run lint:prettier'