Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
izatop committed Jul 30, 2024
1 parent 4da8e47 commit 4923e88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 20.10.0
node-version: 20.16.0
registry-url: 'https://registry.npmjs.org'
- uses: fregante/setup-git-user@v2
- run: yarn --immutable
Expand Down
4 changes: 2 additions & 2 deletions packages/bundle/test/src/Main.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {resolve} from "path";
import {dirname, resolve} from "path";

import {Directory, exit, isPluginCtor, load, PluginAbstract} from "../../src";
import {BuildContext} from "../../src/build/BuildContext";
Expand All @@ -7,7 +7,7 @@ import {TestPlugin} from "./plugin/TestPlugin";
import test from "node:test";
import {equal} from "assert";

const __dirname = import.meta.dirname;
const __dirname = dirname(import.meta.filename);
test("Main Test", async () => {
const id = resolve(__dirname, "plugin/TestPlugin");
const ctx = new BuildContext({
Expand Down

0 comments on commit 4923e88

Please sign in to comment.