Skip to content

Commit 8725f53

Browse files
jonathanperisclaude
andcommitted
chore: align CI and CodeQL workflows with deploy.yml style
Bump Node from 20 to 22 in ci.yml, remove verbose step names from ci.yml and codeql.yml to match the clean single-step style used in deploy.yml. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 48583f8 commit 8725f53

2 files changed

Lines changed: 13 additions & 29 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22

33
on:
44
pull_request:
5-
branches: ["main"]
5+
branches: [main]
66

77
permissions:
88
contents: read
@@ -11,23 +11,14 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: Checkout
15-
uses: actions/checkout@v6
16-
17-
- name: Setup Node
18-
uses: actions/setup-node@v6
14+
- uses: actions/checkout@v6
15+
- uses: actions/setup-node@v6
1916
with:
20-
node-version: "20"
17+
node-version: "22"
2118
cache: "npm"
22-
23-
- name: Install dependencies
24-
run: npm ci
25-
26-
- name: Lint
27-
run: npm run lint
28-
29-
- name: Build
30-
run: npm run build
19+
- run: npm ci
20+
- run: npm run lint
21+
- run: npm run build
3122
env:
3223
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3324
NEXT_PUBLIC_GA_ID: G-35CN95481D

.github/workflows/codeql.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CodeQL
22

33
on:
44
push:
5-
branches: ["main"]
5+
branches: [main]
66
pull_request:
7-
branches: ["main"]
7+
branches: [main]
88
schedule:
99
- cron: "0 6 * * 1"
1010

@@ -16,16 +16,9 @@ jobs:
1616
analyze:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- name: Checkout
20-
uses: actions/checkout@v6
21-
22-
- name: Initialize CodeQL
23-
uses: github/codeql-action/init@v3
19+
- uses: actions/checkout@v6
20+
- uses: github/codeql-action/init@v3
2421
with:
2522
languages: javascript-typescript
26-
27-
- name: Autobuild
28-
uses: github/codeql-action/autobuild@v3
29-
30-
- name: Perform CodeQL Analysis
31-
uses: github/codeql-action/analyze@v3
23+
- uses: github/codeql-action/autobuild@v3
24+
- uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)