Skip to content

chore: Upgrade some TS packages #97

chore: Upgrade some TS packages

chore: Upgrade some TS packages #97

Workflow file for this run

name: Linter
on:
push:
branches: ["**"]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: "npm"
- name: "Install Dependencies"
run: npm ci
- name: "Check Formatting"
id: prettier
run: npx prettier --ignore-path .gitignore --check .
continue-on-error: true
- name: "Run ESLint"
id: eslint
run: npx eslint --ignore-path .gitignore .
continue-on-error: true
- name: "Validate TypeScript Types"
id: ts
run: npx tsc --noEmit
continue-on-error: true
- name: "Bail If Checks Failed"
if: steps.prettier.outcome != 'success' || steps.eslint.outcome != 'success' || steps.ts.outcome != 'success'
run: |
echo "One or more code quality checks failed. Exiting with code 1..."
exit 1