Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 9 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,19 @@ on:

jobs:
build:
name: build on node@${{ matrix.node-version }}
runs-on: ubuntu-latest

strategy:
matrix:
node-version:
- 22
- 24
name: build
runs-on: blacksmith-4vcpu-ubuntu-2404

steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
with:
node-version: ${{ matrix.node-version }}
node-version-file: package.json
cache: pnpm

- run: npm ci
- run: npm run check
- run: npm run build
- run: pnpm install --frozen-lockfile
- run: pnpm check
- run: pnpm build
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404

permissions:
actions: read
Expand All @@ -21,7 +21,7 @@ jobs:
- javascript-typescript

steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,24 @@ on:
jobs:
publish:
name: publish
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404

permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
with:
node-version-file: package.json
registry-url: https://registry.npmjs.org
cache: pnpm

- run: npm ci
- run: npm publish --provenance --access public
- run: pnpm install --frozen-lockfile
- run: pnpm publish --provenance --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
35 changes: 18 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,52 +10,53 @@ on:

jobs:
test:
name: test on ${{ matrix.os-release }} node@${{ matrix.node-version }}
name: test on ${{ matrix.os-release }}
runs-on: ${{ matrix.os-release }}

strategy:
matrix:
node-version:
- 22
- 24
os-release:
- ubuntu-latest
- windows-latest
- blacksmith-4vcpu-ubuntu-2404
- blacksmith-4vcpu-windows-2025

steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
with:
node-version: ${{ matrix.node-version }}
node-version-file: package.json
cache: pnpm

- run: npm ci
- run: npm run test
- run: pnpm install --frozen-lockfile
- run: pnpm test

coverage:
name: collect coverage
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
with:
node-version-file: package.json
cache: pnpm

- run: npm ci
- run: pnpm install --frozen-lockfile

- run: npm run test:unit
- uses: codecov/codecov-action@0fb7174895f61a3b6b78fc075e0cd60383518dac # v5.5.5
- run: pnpm test:unit
- uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unit

# - run: rm -rf coverage

# - run: npm run test:integration
# - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3
# - run: pnpm test:integration
# - uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# flags: integration
7 changes: 7 additions & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"printWidth": 120,
"semi": false,
"singleQuote": true,
"jsxSingleQuote": true,
"trailingComma": "none"
}
70 changes: 0 additions & 70 deletions biome.jsonc

This file was deleted.

4 changes: 0 additions & 4 deletions eslint.config.mjs

This file was deleted.

4 changes: 4 additions & 0 deletions oxlint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { axiom } from '@2bad/axiom'
import { defineConfig } from 'oxlint'

export default defineConfig({ extends: [axiom] })
Loading