fix: remove redundant lint job from build workflow and ensure main branch is specified for push events

This commit is contained in:
Mo Tarbin
2026-07-08 14:08:41 -04:00
parent 648f76bd22
commit 1ca91d684f

View File

@@ -2,6 +2,7 @@ name: Build validation
on:
push:
branches: [main]
pull_request:
jobs:
@@ -22,17 +23,3 @@ jobs:
- name: Install dependencies
run: npm i
- run: npm run build
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- name: Install dependencies
run: npm i
# Lint currently reporting lots of preexisting issues
# - run: npm run lint