Skip to content

diff with master

diff with master #2

Workflow file for this run

name: Lint
permissions:
contents: read
on:
push:
branches:
- master
tags:
- v*
pull_request:
branches:
- '**'
jobs:
lint:
name: Run prettier and linter
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Install dependencies
run: npm i
- name: Install oxlint native binding
run: npm i @oxlint/binding-linux-x64-gnu
- name: Check prettier
run: npm run prettier:check
- name: Check formatting
run: npm run lint:check
- name: Check if TypeScript still compiles
run: npm run check-ts