Skip to content

Merge pull request #48 from low-earth-orbit/38-custom-mouse-pointer #12

Merge pull request #48 from low-earth-orbit/38-custom-mouse-pointer

Merge pull request #48 from low-earth-orbit/38-custom-mouse-pointer #12

Workflow file for this run

name: Formatter, linter & type checker
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
setUp:
name: Set up environment
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
prettier:
name: Run Prettier
runs-on: ubuntu-latest
needs: setUp
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies (cached)
run: npm ci --prefer-offline
- name: Run Prettier
run: npm run prettier
nextLint:
name: Run ESLint
runs-on: ubuntu-latest
needs: setUp
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies (cached)
run: npm ci --prefer-offline
- name: Run ESLint
run: npm run lint
typescript:
name: TypeScript check
runs-on: ubuntu-latest
needs: setUp
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies (cached)
run: npm ci --prefer-offline
- name: TypeScript check
run: npm run tsc