chore(ci): more updating CI to run more efficient

This commit is contained in:
Gabe Kangas
2025-10-07 13:11:52 -07:00
parent 728bd3e96d
commit a3915bd89d
6 changed files with 84 additions and 28 deletions
@@ -1,8 +1,9 @@
# This workflow handles Javascript formatting, linting, testing, and building
# Triggers:
# - Push/PR with changes to web/ directory
# - Push/PR with changes to web/ directory source code
# Skips:
# - Markdown files
# - Static/generated files
# Jobs:
# 1. formatting: ESLint and Prettier formatting
# 2. unused-code: Knip checks for unused code and dependencies
@@ -14,13 +15,25 @@ name: Javascript
on:
push:
paths:
- web/**
- '!**.md'
- 'web/**/*.{js,ts,tsx,jsx,json,css,scss}'
- 'web/package.json'
- 'web/package-lock.json'
- 'web/.eslintrc.js'
- 'web/.prettierrc.js'
- 'web/tsconfig.json'
- 'web/next.config.js'
- '.github/workflows/javascript-format-test-build.yml'
pull_request:
paths:
- web/**
- '!**.md'
- 'web/**/*.{js,ts,tsx,jsx,json,css,scss}'
- 'web/package.json'
- 'web/package-lock.json'
- 'web/.eslintrc.js'
- 'web/.prettierrc.js'
- 'web/tsconfig.json'
- 'web/next.config.js'
- '.github/workflows/javascript-format-test-build.yml'
jobs:
formatting: