Skip to content

build(deps-dev): bump the commitlint group with 2 updates #4

build(deps-dev): bump the commitlint group with 2 updates

build(deps-dev): bump the commitlint group with 2 updates #4

Workflow file for this run

name: lint
on: [push, pull_request]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Use Node.js
uses: actions/setup-node@v6
with:
cache: npm
node-version-file: .nvmrc
- name: Install dependencies
run: npm ci --prefer-offline
- name: Build package
run: npm run build
- name: Run ESLint
run: npm run lint
- name: Type check
run: npm run lint:tsc
- name: Lint package
run: npm run lint:package
- name: Check types
run: |
npx @arethetypeswrong/cli --pack
if [[ "$(npx @arethetypeswrong/cli --pack -f json | jq '.problems != {}')" == 'true' ]]; then
npx @arethetypeswrong/cli --pack -f json | jq
exit 1
fi