Version Packages #1658
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 | |
on: | |
pull_request: | |
branches: [main, dev] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 | |
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 | |
- name: Install Node.js | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- name: Install Dependencies | |
run: pnpm i --frozen-lockfile | |
- name: Lint Format | |
run: pnpm lint:prettier | |
- name: Check Types | |
run: pnpm build --filter=./packages/* && pnpm types:check | |
- name: Run ESLint | |
run: pnpm lint |