Skip to content

32 chore fix GitHub actions workflow #1

32 chore fix GitHub actions workflow

32 chore fix GitHub actions workflow #1

name: Lint and format checks
on:
pull_request:
branches:
- dev
- main
defaults:
run:
working-directory: t29-project-1
jobs:
eslint:
name: ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24.6.x'
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npm run lint
prettier-check:
name: Prettier Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24.6.x'
- name: Install dependencies
run: npm ci
- name: Run Prettier check
run: npm run prettier:check