Skip to content

Commit

Permalink
Fix document
Browse files Browse the repository at this point in the history
  • Loading branch information
Kesin11 committed Sep 17, 2023
1 parent 104de5d commit 24f7ec9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/poc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@ jobs:
- run: deno task bundle
- name: Run self action
uses: ./
env:
NODE_OPTIONS: "--enable-source-maps"
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,14 @@ You can set `GITHUB_API_URL` environment variable to use this action with GHES.

# DEBUG

If you want to debug this action, you should enable soucemap using
`NODE_OPTIONS` environment variable.
If you want to debug this action, first generate `dist/` then execute own
action.

```yaml
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
- run: deno task bundle
- uses: ./
env:
NODE_OPTIONS: "--enable-source-maps"
```

# LICENSE
Expand Down
8 changes: 5 additions & 3 deletions scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ await build({
deno: true,
},
package: {
// package.json properties
// Dummy package.json
name: "@kesin11/actions-timeline",
version: Deno.args[0],
description: "Show workflow timeline in summary",
version: "0.1.0",
description: "A Action shows timeline of a workflow in a run summary.",
license: "MIT",
repository: {
type: "git",
Expand Down Expand Up @@ -48,3 +48,5 @@ await esbuild.build({
}).finally(() => {
esbuild.stop();
});

console.log("Complete!");

0 comments on commit 24f7ec9

Please sign in to comment.