Skip to content

Commit 8bc9774

Browse files
ccpuCopilot
andcommitted
fix(ci): update action input to use milliseconds instead of GITHUB_TOKEN
* Changed the input parameter for the test-action job in the CI workflow. * This change improves the configuration by specifying a timeout value. Co-authored-by: Copilot <copilot@github.com>
1 parent 0242d88 commit 8bc9774

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ jobs:
8080
id: test-action
8181
uses: ./
8282
with:
83-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83+
milliseconds: 1000

dist/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esbuild.config.cjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ esbuild
99
target: 'node20',
1010
outdir: 'dist',
1111
format: 'esm',
12+
banner: {
13+
js: "import { createRequire } from 'node:module'; const require = createRequire(import.meta.url);",
14+
},
1215
external: ['string_decoder', 'fs', 'path', 'os', 'util', 'stream'],
1316
sourcemap: false,
1417
tsconfig: 'tsconfig.build.json',

0 commit comments

Comments
 (0)