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
6 changes: 3 additions & 3 deletions __test__/edge_api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe("EdgeUpdates", () => {

beforeEach(async () => {
const content = await fs.promises.readFile(
path.join(__dirname, "./testdata.json"),
path.join(import.meta.dirname, "./testdata.json"),
"utf-8",
);
updates = new EdgeUpdates(JSON.parse(content));
Expand All @@ -28,7 +28,7 @@ describe("EdgeUpdatesProduct", () => {

beforeEach(async () => {
const content = await fs.promises.readFile(
path.join(__dirname, "./testdata.json"),
path.join(import.meta.dirname, "./testdata.json"),
"utf-8",
);
updates = new EdgeUpdates(JSON.parse(content));
Expand Down Expand Up @@ -62,7 +62,7 @@ describe("EdgeUpdatesProductRelease", () => {

beforeEach(async () => {
const content = await fs.promises.readFile(
path.join(__dirname, "./testdata.json"),
path.join(import.meta.dirname, "./testdata.json"),
"utf-8",
);
updates = new EdgeUpdates(JSON.parse(content));
Expand Down
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"files": {
"ignore": ["package.json", "__test__/*.json", "dist"]
"includes": ["**", "!package.json", "!__test__/*.json", "!dist"]
},
"linter": {
"enabled": true,
Expand Down
23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,32 @@
"name": "setup-edge",
"version": "1.1.1",
"description": "Set up your GitHub Actions workflow with a specific version of edge",
"type": "module",
"main": "dist/index.js",
"packageManager": "pnpm@8.7.5",
"engines": {
"node": ">=24.0.0"
},
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/exec": "^1.1.1",
"@actions/http-client": "^2.1.1",
"@actions/io": "^1.1.3",
"@actions/tool-cache": "^2.0.1"
"@actions/core": "^3.0.1",
"@actions/exec": "^3.0.0",
"@actions/http-client": "^4.0.1",
"@actions/io": "^3.0.2",
"@actions/tool-cache": "^4.0.0"
},
"devDependencies": {
"@biomejs/biome": "^1.7.2",
"@types/node": "^18.13.0",
"@vercel/ncc": "^0.38.0",
"typescript": "^5.2.2",
"vitest": "^1.6.0"
"@biomejs/biome": "^2.4.14",
"@types/node": "^25.6.0",
"@vercel/ncc": "^0.38.4",
"typescript": "^6.0.3",
"vitest": "^4.1.5"
},
"scripts": {
"build": "ncc build src/index.ts",
"package": "cp action.yml README.md dist/",
"test": "vitest",
"lint": "biome ci .",
"lint:fix": "biome check --apply ."
"lint:fix": "biome check --write ."
},
"repository": {
"type": "git",
Expand Down
Loading
Loading