Skip to content

Commit

Permalink
fix: updated action to node20; debugging errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dkhunt27 committed Jan 24, 2024
1 parent bd42663 commit ab09965
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ outputs:

author: 'dkhunt27'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'

branding:
Expand Down
12 changes: 12 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions src/nx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@ const executeNxCommands = ({
let cmdSuccessful = false
let result: string | null = null

result = execSync('ls -la', {cwd: workspace}).toString()
core.info(`result: ${result}`)
result = execSync('ls -la', {cwd: `${workspace}/node_modules`}).toString()
core.info(`result: ${result}`)
result = execSync('ls -la', {
cwd: `${workspace}/node_modules/.bin`
}).toString()
core.info(`result: ${result}`)
result = execSync('ls -la', {
cwd: `${workspace}/node_modules/nx`
}).toString()
core.info(`result: ${result}`)

for (const cmd of commands) {
try {
core.debug(`Attempting to run command: ${cmd}`)
Expand Down

0 comments on commit ab09965

Please sign in to comment.