Skip to content

Commit d45ace6

Browse files
makrsmarkjames-enpersoclaude
authored
Update build (#354)
- yarn-test.yml: Change push trigger from 'main' to 'master' to match actual default branch; add build steps; drop EOL Node 18 - package.json: Add 'lint' script for eslint --------- Co-authored-by: james-enperso <james@enperso.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f443671 commit d45ace6

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/yarn-test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
push:
66
branches:
7-
- main
7+
- master
88
pull_request:
99

1010
permissions:
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
# build against all active LTS and current stable node; include "latest" for early signal as a required job
20-
node-version: [18.x, 20.x, 22.x, 24.x, latest]
20+
node-version: [20.x, 22.x, 24.x, latest]
2121

2222
steps:
2323
- uses: actions/checkout@v6
@@ -28,5 +28,7 @@ jobs:
2828
cache: npm
2929
- name: Install dependencies
3030
run: npm ci
31+
- name: Build
32+
run: npm run build
3133
- name: Run tests
3234
run: npm test

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
},
1515
"scripts": {
1616
"build": "tsup",
17+
"lint": "eslint .",
1718
"test": "jest"
1819
},
1920
"engines": {

0 commit comments

Comments
 (0)