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
21 changes: 16 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v7
- run: |
yarn --frozen-lockfile
- run: |
Expand All @@ -21,28 +21,39 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y git
- uses: actions/checkout@v3
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-node@v6
with:
node-version: 24
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Run unit tests
run: yarn test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/lcov.info
integration-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [22, 24, 26]
name: integration-tests (node ${{ matrix.node-version }})
steps:
- name: Install git
run: |
sudo apt-get update
sudo apt-get update
sudo apt-get install -y git
- uses: actions/checkout@v3
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Build
Expand Down
Binary file added .yarn/install-state.gz
Binary file not shown.
944 changes: 944 additions & 0 deletions .yarn/releases/yarn-4.17.0.cjs

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
approvedGitRepositories:
- "**"

enableScripts: true

nodeLinker: node-modules

npmMinimalAgeGate: 0

yarnPath: .yarn/releases/yarn-4.17.0.cjs
366 changes: 235 additions & 131 deletions dist/index.js

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"changesets"
],
"scripts": {
"build": "yarn esbuild --bundle --outfile=dist/index.js --platform=node --packages=bundle --minify --keep-names --target=node20.0 src/index.ts",
"build": "yarn esbuild --bundle --outfile=dist/index.js --platform=node --packages=bundle --minify --keep-names --target=node20.0 \"--banner:js=const __import_meta_url = require('url').pathToFileURL(__filename).href;\" --define:import.meta.url=__import_meta_url src/index.ts",
"format": "biome format --write src/",
"format-check": "biome format --write src/",
"lint": "biome lint src/",
Expand All @@ -29,16 +29,17 @@
"@actions/core": "^3.0.1",
"@biomejs/biome": "^2.5.0",
"@changesets/cli": "^2.31.0",
"@changesets/get-release-plan": "^4.0.15",
"@changesets/get-release-plan": "^4.0.16",
"@changesets/git": "^3.0.4",
"@manypkg/get-packages": "^3.1.0",
"@types/node": "^24.2.0",
"@vitest/coverage-v8": "^3.2.4",
"@types/node": "^26.0.0",
"@vitest/coverage-v8": "^4.1.9",
"esbuild": "^0.28.1",
"husky": "^9.1.7",
"lint-staged": "^17.0.8",
"npm-run-all": "^4.1.5",
"typescript": "^6.0.3",
"vitest": "^3.2.4"
}
"vitest": "^4.1.9"
},
"packageManager": "yarn@4.17.0"
}
Loading
Loading