chore(deps-dev): bump eslint from 9.2.0 to 9.9.0 #737
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: ci | |
on: | |
push: | |
branches: | |
- main | |
- master | |
pull_request: | |
branches: | |
- main | |
- master | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [20] | |
steps: | |
- name: Checkout π | |
uses: actions/checkout@v4 | |
- name: Use .npmrc | |
uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- name: Install pnpm | |
uses: pnpm/[email protected] | |
with: | |
version: 'latest' | |
- name: Setup node env π | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'pnpm' | |
- name: Cache node_modules π¦ | |
uses: actions/[email protected] | |
with: | |
path: ~/.pnpm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install dependencies π¨π»βπ» | |
run: pnpm install | |
- name: Generate before lint | |
run: pnpm run generate | |
- name: Run linter π | |
run: pnpm run lint:fix |