Skip to content

Merge pull request #104 from Tietokilta/feature/89-renew-session-token #240

Merge pull request #104 from Tietokilta/feature/89-renew-session-token

Merge pull request #104 from Tietokilta/feature/89-renew-session-token #240

Workflow file for this run

name: Lint & type-check
on:
push:
branches: [dev]
pull_request:
branches: [dev]
types: [synchronize, opened, reopened, ready_for_review]
workflow_call:
jobs:
lint:
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Check out the repo
uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
- name: Run ESLint
run: npm run lint
- name: Run type checking
run: npm run typecheck