Skip to content

Commit e31494f

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 52f73ab commit e31494f

File tree

7 files changed

+4162
-3363
lines changed

7 files changed

+4162
-3363
lines changed

.github/workflows/push.yml

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,22 @@ on: push
44

55
jobs:
66
test:
7-
name: Lint, build, and test 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
13-
with:
14-
node-version: 20.x
15-
- name: Install Rust
16-
uses: dtolnay/rust-toolchain@stable
11+
- uses: dtolnay/rust-toolchain@stable
1712
with:
1813
targets: wasm32-unknown-unknown
19-
- name: Install wasm-bindgen-cli
20-
run: cargo install wasm-bindgen-cli
21-
- name: Install deps (with cache)
22-
uses: bahmutov/npm-install@v1
23-
- name: Lint codebase
24-
run: yarn lint
25-
- name: Format codebase
26-
run: yarn prettier -c .
27-
- name: Build codebase
28-
run: yarn build
29-
- name: Test codebase
30-
run: yarn test --coverage
31-
- name: Upload coverage
32-
run: bash <(curl -s https://codecov.io/bash)
14+
- run: cargo install wasm-bindgen-cli
15+
- uses: pnpm/action-setup@v4
16+
with:
17+
version: 10
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: 22.x
21+
cache: pnpm
22+
- run: pnpm install --frozen-lockfile
23+
- run: pnpm lint
24+
- run: pnpm build
25+
- run: pnpm test

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
CHANGELOG.md
22
src/wasm
3+
pnpm-lock.yaml

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@vitest/coverage-v8": "^4.1.1",
6262
"eslint": "^9.0.0",
6363
"eslint-plugin-import": "^2.31.0",
64-
"eslint-plugin-unicorn": "^63.0.0",
64+
"eslint-plugin-unicorn": "^64.0.0",
6565
"prettier": "^3.7.4",
6666
"rimraf": "^6.1.3",
6767
"standard-changelog": "^7.0.1",

0 commit comments

Comments
 (0)