feat: uptoscroll #87
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
# pnpm should be preinstalled before the setup-node action | |
# https://github.com/actions/setup-node/issues/530#issuecomment-1169317505 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v3 | |
- name: Setup node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run Lint | |
run: pnpm lint:ci |