Skip to content

Commit 528dc62

Browse files
cmdcolinclaude
andcommitted
update to pnpm, TypeScript 6, eslint-plugin-unicorn v64
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8395e5f commit 528dc62

File tree

4 files changed

+3794
-3040
lines changed

4 files changed

+3794
-3040
lines changed

.github/workflows/push.yml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,17 @@ on: push
44

55
jobs:
66
test:
7-
name: Test and typecheck on node 20.x and ubuntu-latest
7+
name: Lint, build, and test
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
11-
- name: Use Node.js 20.x
12-
uses: actions/setup-node@v4
11+
- uses: pnpm/action-setup@v4
12+
- uses: actions/setup-node@v4
1313
with:
14-
node-version: '20'
15-
- name: Install deps (with cache)
16-
uses: bahmutov/npm-install@v1
17-
- name: Build
18-
run: yarn build
19-
- name: Install Puppeteer browser
20-
run: npx puppeteer browsers install chrome
21-
- name: Test codebase
22-
run: yarn test --run
23-
- name: Upload coverage
24-
uses: codecov/codecov-action@v2
25-
- name: Typecheck codebase
26-
run: yarn tsc
14+
node-version: 22.x
15+
cache: pnpm
16+
- run: pnpm install --frozen-lockfile
17+
- run: npx puppeteer browsers install chrome
18+
- run: pnpm lint
19+
- run: pnpm build
20+
- run: pnpm test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@typescript-eslint/parser": "^8.57.2",
4747
"eslint": "^9.0.0",
4848
"eslint-plugin-import": "^2.31.0",
49-
"eslint-plugin-unicorn": "^63.0.0",
49+
"eslint-plugin-unicorn": "^64.0.0",
5050
"generic-filehandle2": "^2.0.18",
5151
"prettier": "^3.8.1",
5252
"puppeteer": "^24.40.0",

0 commit comments

Comments
 (0)