Skip to content

feat: watchtime leaderboard #44

feat: watchtime leaderboard

feat: watchtime leaderboard #44

Workflow file for this run

name: Build and Lint
on: [pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/[email protected]
- name: Install Node v20
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Setup pnpm
uses: pnpm/[email protected]
- name: Install Node v20
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm lint
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: lint bot"