Commit 5f2be72
authored
Fix MODULE_NOT_FOUND (#5)
* Fix MODULE_NOT_FOUND
By default the working directory of the composite action is the calling
workflows's context. This means a relative require like what was done here
isn't reading the action's main.yml.
This wasn't caught during testing because GHA requires one to check the testing
repo out before being able to run a local action. This masked the behavior.
I believe it was missed in the integration tests because those were tested when
the main.js was _embedded_ in the action.yml. Hilarious.
* Add an on-merge test case1 parent 0aaee72 commit 5f2be72
2 files changed
+27
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments