[GH-ISSUE #817] Issue: custom action repositories not copied from repo root causing missing deps #500

Closed
opened 2026-03-01 21:43:57 +03:00 by kerem · 1 comment
Owner

Originally created by @AlmirKadric on GitHub (Sep 16, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/817

System information

  • Operating System: macOS
  • Architecture: x64
  • Apple M1: no
  • Docker version: 20.10.6
  • act version: 0.2.24

Expected behaviour

Custom github-actions are properly pulled along and run like they would on github

Actual behaviour

The custom github-action is copied from the subfolder path of the action instead of from the root of the git repo. This causes repos which hold multiple action and have shared dependencies to be missed.

Workflow and/or repository

workflow
name: test

on:
    push:
        branches: [ master ]

jobs:
    deps:
        runs-on: ubuntu-latest
        steps:
            - name: '※ Prepare Node.js subsystem project dependencies'
              uses: catalyst-stack/github-actions/nodejs-subsystem-deps@master
              with:
                target-ref: ${{ github.event.inputs.target-ref }}

    test-lint:
        runs-on: ubuntu-latest
        needs: [deps]
        steps:
            - name: '※ Test lint'
              uses: catalyst-stack/github-actions/nodejs-subsystem-script@master
              with:
                target-ref: ${{ github.event.inputs.target-ref }}
                npm-script: test:lint

Steps to reproduce

check log, command is there

act output

Log
$ act test -j test-lint -v
DEBU[0000] Loading environment from /Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.env
DEBU[0000] Loading secrets from /Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.secrets
DEBU[0000] Loading workflows from '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows'
DEBU[0000] Loading workflows recursively
DEBU[0000] Found workflow 'release_npm.yaml' in '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows/release_npm.yaml'
DEBU[0000] Found workflow 'test.yaml' in '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows/test.yaml'
DEBU[0000] Found workflow 'version_bump.yaml' in '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows/version_bump.yaml'
DEBU[0000] Reading workflow '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows/release_npm.yaml'
DEBU[0000] Correcting if statements '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows/release_npm.yaml'
DEBU[0000] Reading workflow '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows/test.yaml'
DEBU[0000] Correcting if statements '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows/test.yaml'
DEBU[0000] Reading workflow '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows/version_bump.yaml'
DEBU[0000] Correcting if statements '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows/version_bump.yaml'
DEBU[0000] Planning job: test-lint
DEBU[0000] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
WARN[0000] unable to get git repo: section "remote \"origin\"" does not exist
DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0000] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0000] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654'
DEBU[0000] using github ref: refs/heads/master
DEBU[0000] context env => map[ACT:true]
DEBU[0000] context needs => map[]
DEBU[0000] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
WARN[0000] unable to get git repo: section "remote \"origin\"" does not exist
DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0000] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0000] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654'
DEBU[0000] using github ref: refs/heads/master
DEBU[0000] context env => map[ACT:true]
DEBU[0000] context needs => map[]
DEBU[0000] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
WARN[0000] unable to get git repo: section "remote \"origin\"" does not exist
DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0000] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0000] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654'
DEBU[0000] using github ref: refs/heads/master
DEBU[0000] context env => map[ACT:true]
DEBU[0000] context needs => map[deps:map[outputs:map[]]]
DEBU[0000] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
WARN[0000] unable to get git repo: section "remote \"origin\"" does not exist
DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0000] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0000] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654'
DEBU[0000] using github ref: refs/heads/master
DEBU[0000] context env => map[ACT:true]
DEBU[0000] context needs => map[deps:map[outputs:map[]]]
[version_bump/deps     ] 🚀  Start image=catthehacker/ubuntu:act-latest
[test/deps             ] 🚀  Start image=catthehacker/ubuntu:act-latest
DEBU[0000] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
WARN[0000] unable to get git repo: section "remote \"origin\"" does not exist
DEBU[0000] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0000] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
WARN[0000] unable to get git repo: section "remote \"origin\"" does not exist
DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0000] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654'
DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0000] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0000] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654'
DEBU[0000] using github ref: refs/heads/master
[version_bump/deps     ]   🐳  docker pull catthehacker/ubuntu:act-latest
DEBU[0000] using github ref: refs/heads/master
[test/deps             ]   🐳  docker pull catthehacker/ubuntu:act-latest
DEBU[0000] Image exists? true
DEBU[0000] Image exists? true
[version_bump/deps     ] Removed container: 89d2b5829f832ae96d2cf87c87c337f1665d11d54f54a34cd0db60400399357d
[version_bump/deps     ]   🐳  docker volume rm act-version-bump-deps
[version_bump/deps     ]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[test/deps             ] Removed container: 2d98af538b13ece11416fb45eac6b4db8ef1bcac436f27773edc393a1b918d7e
[test/deps             ]   🐳  docker volume rm act-test-deps
[test/deps             ]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[version_bump/deps     ] Created container name=act-version-bump-deps id=8ce49366e27b30b0923a66accbd36420d8a66c6cc59c849dfbc322ad8fa64e97 from image catthehacker/ubuntu:act-latest (platform: )
[version_bump/deps     ] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[version_bump/deps     ]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[version_bump/deps     ] Starting container: 8ce49366e27b30b0923a66accbd36420d8a66c6cc59c849dfbc322ad8fa64e97
[test/deps             ] Created container name=act-test-deps id=abdaabca6dd1be8b7fe5650ffd642575add38646771fdd7f6af3e2b0882ad5f9 from image catthehacker/ubuntu:act-latest (platform: )
[test/deps             ] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[test/deps             ]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[test/deps             ] Starting container: abdaabca6dd1be8b7fe5650ffd642575add38646771fdd7f6af3e2b0882ad5f9
[version_bump/deps     ] Started container: 8ce49366e27b30b0923a66accbd36420d8a66c6cc59c849dfbc322ad8fa64e97
[test/deps             ] Started container: abdaabca6dd1be8b7fe5650ffd642575add38646771fdd7f6af3e2b0882ad5f9
[version_bump/deps     ]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root
[version_bump/deps     ] Exec command '[mkdir -m 0777 -p /var/run/act]'
[test/deps             ]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root
[test/deps             ] Exec command '[mkdir -m 0777 -p /var/run/act]'
DEBU[0000] Writing entry to tarball workflow/event.json len:2
DEBU[0000] Writing entry to tarball workflow/envs.txt len:0
DEBU[0000] Writing entry to tarball workflow/paths.txt len:0
[version_bump/deps     ] Extracting content to '/var/run/act/'
DEBU[0000] Writing entry to tarball workflow/event.json len:2
DEBU[0000] Writing entry to tarball workflow/envs.txt len:0
DEBU[0000] Writing entry to tarball workflow/paths.txt len:0
[test/deps             ] Extracting content to '/var/run/act/'
DEBU[0000] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
WARN[0000] unable to get git repo: section "remote \"origin\"" does not exist
DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0000] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0000] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654'
DEBU[0000] using github ref: refs/heads/master
DEBU[0000] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
WARN[0000] unable to get git repo: section "remote \"origin\"" does not exist
DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0000] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0000] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654'
DEBU[0000] using github ref: refs/heads/master
DEBU[0001] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
WARN[0001] unable to get git repo: section "remote \"origin\"" does not exist
DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0001] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0001] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654'
DEBU[0001] using github ref: refs/heads/master
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
DEBU[0001] context needs => map[]
DEBU[0001] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
WARN[0001] unable to get git repo: section "remote \"origin\"" does not exist
DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0001] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0001] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654'
DEBU[0001] using github ref: refs/heads/master
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
DEBU[0001] context needs => map[]
DEBU[0001] Evaluating 'github['event']['inputs']['target-ref']' instead of 'github.event.inputs.target-ref'
ERRO[0001] Unable to interpolate string '${{ github.event.inputs.target-ref }}' - [TypeError: Cannot access member 'target-ref' of undefined]
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:test GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:deps GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:3b798d30317248e427957504681b58c3cd4f6654 GITHUB_TOKEN: GITHUB_WORKFLOW:version_bump GITHUB_WORKSPACE:/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo IMAGE_OS:ubuntu20 INPUT_TARGET-REF:${{ github.event.inputs.target-ref }} ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
DEBU[0001] Evaluating 'github['event']['inputs']['target-ref']' instead of 'github.event.inputs.target-ref'
ERRO[0001] Unable to interpolate string '${{ github.event.inputs.target-ref }}' - [TypeError: Cannot access member 'target-ref' of undefined]
[version_bump/deps     ] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:test GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:deps GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:3b798d30317248e427957504681b58c3cd4f6654 GITHUB_TOKEN: GITHUB_WORKFLOW:version_bump GITHUB_WORKSPACE:/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo IMAGE_OS:ubuntu20 INPUT_TARGET-REF: ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[version_bump/deps     ] ⭐  Run ※ Prepare Node.js subsystem project dependencies
DEBU[0001] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
WARN[0001] unable to get git repo: section "remote \"origin\"" does not exist
DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0001] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0001] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654'
DEBU[0001] using github ref: refs/heads/master
INFO[0001]   ☁  git clone 'https://github.com/catalyst-stack/github-actions' # ref=master
DEBU[0001]   cloning https://github.com/catalyst-stack/github-actions to /Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master
DEBU[0001] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
WARN[0001] unable to get git repo: section "remote \"origin\"" does not exist
DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0001] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0001] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654'
DEBU[0001] using github ref: refs/heads/master
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
DEBU[0001] context needs => map[]
DEBU[0001] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
WARN[0001] unable to get git repo: section "remote \"origin\"" does not exist
DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0001] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0001] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654'
DEBU[0001] using github ref: refs/heads/master
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
DEBU[0001] context needs => map[]
DEBU[0001] Evaluating 'github['event']['inputs']['target-ref']' instead of 'github.event.inputs.target-ref'
ERRO[0001] Unable to interpolate string '${{ github.event.inputs.target-ref }}' - [TypeError: Cannot access member 'target-ref' of undefined]
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:test GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:deps GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:3b798d30317248e427957504681b58c3cd4f6654 GITHUB_TOKEN: GITHUB_WORKFLOW:test GITHUB_WORKSPACE:/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo IMAGE_OS:ubuntu20 INPUT_TARGET-REF:${{ github.event.inputs.target-ref }} ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
DEBU[0001] Evaluating 'github['event']['inputs']['target-ref']' instead of 'github.event.inputs.target-ref'
ERRO[0001] Unable to interpolate string '${{ github.event.inputs.target-ref }}' - [TypeError: Cannot access member 'target-ref' of undefined]
[test/deps             ] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:test GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:deps GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:3b798d30317248e427957504681b58c3cd4f6654 GITHUB_TOKEN: GITHUB_WORKFLOW:test GITHUB_WORKSPACE:/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo IMAGE_OS:ubuntu20 INPUT_TARGET-REF: ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[test/deps             ] ⭐  Run ※ Prepare Node.js subsystem project dependencies
DEBU[0001] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
WARN[0001] unable to get git repo: section "remote \"origin\"" does not exist
DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0001] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git'
DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654
DEBU[0001] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654'
DEBU[0001] using github ref: refs/heads/master
INFO[0001]   ☁  git clone 'https://github.com/catalyst-stack/github-actions' # ref=master
DEBU[0001]   cloning https://github.com/catalyst-stack/github-actions to /Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master
DEBU[0001] Provided ref is not a sha. Checking out branch before pulling changes
DEBU[0001] Cloned https://github.com/catalyst-stack/github-actions to /Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master
DEBU[0001] Checked out master
DEBU[0001] Read action &{Node.js Subsystem Dependencies AlmirKadric Boilerplate dependency installation for a Node.js subsystem project map[cache-key:{Unique key identity for saving and restoring to and from the cache. The `` default will be used if not provided.
※ This is a proxy to the `key` input for the `actions/cache` action.
 false } cache-path:{Newline seperated list of path(s) which should be cached. This defaults to `./node_modules` if not provided.
※ This is a proxy to the `path` input for the `actions/cache` action.
 false ./node_modules
} node-version:{Node.js version to setup. This defaults to '14' if not provided.
※ This is a proxy to the `node-version` input for the `actions/setup-node` action.
 false 14} target-ref:{The git ref we should setup the job against. This defaults to the SHA or ref of the event which triggered the job.
※ This is a proxy to the `target-ref` input for the `catalyst-stack/github-actions/input-or-ref-name` action. ※ This is a proxy to the `ref` input for the `actions/checkout` action.
 false } token:{ false ${{ github.token }}}] map[] {node12 map[] ./main.js  [] [] []} { }} from 'Unknown'
DEBU[0001] About to run action &{Node.js Subsystem Dependencies AlmirKadric Boilerplate dependency installation for a Node.js subsystem project map[cache-key:{Unique key identity for saving and restoring to and from the cache. The `` default will be used if not provided.
※ This is a proxy to the `key` input for the `actions/cache` action.
 false } cache-path:{Newline seperated list of path(s) which should be cached. This defaults to `./node_modules` if not provided.
※ This is a proxy to the `path` input for the `actions/cache` action.
 false ./node_modules
} node-version:{Node.js version to setup. This defaults to '14' if not provided.
※ This is a proxy to the `node-version` input for the `actions/setup-node` action.
 false 14} target-ref:{The git ref we should setup the job against. This defaults to the SHA or ref of the event which triggered the job.
※ This is a proxy to the `target-ref` input for the `catalyst-stack/github-actions/input-or-ref-name` action. ※ This is a proxy to the `ref` input for the `actions/checkout` action.
 false } token:{ false ${{ github.token }}}] map[] {node12 map[] ./main.js  [] [] []} { }}
DEBU[0001] Evaluating 'github['token']' instead of 'github.token'
DEBU[0001] type=3 actionDir=/Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master actionPath=nodejs-subsystem-deps Workdir=/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo ActionCacheDir=/Users/almirkadric/.cache/act actionName=catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps containerActionDir=/var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps
DEBU[0001] Removing /Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/.gitignore before docker cp
[version_bump/deps     ]   🐳  docker cp src=/Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/ dst=/var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/
[version_bump/deps     ]   🐳  docker exec cmd=[mkdir -p /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/] user=
[version_bump/deps     ] Exec command '[mkdir -p /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/]'
DEBU[0001] Writing tarball /var/folders/01/29xyn_xx6kl1gj8zvqqp6nwc0000gn/T/act570375343 from /Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/
DEBU[0001] Stripping prefix:/Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/ src:/Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/
[version_bump/deps     ] Extracting content from '/var/folders/01/29xyn_xx6kl1gj8zvqqp6nwc0000gn/T/act570375343' to '/var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/'
DEBU[0001] executing remote job container: [node /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js]
[version_bump/deps     ]   🐳  docker exec cmd=[node /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js] user=
[version_bump/deps     ] Exec command '[node /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js]'
DEBU[0001] Provided ref is not a sha. Checking out branch before pulling changes
| internal/modules/cjs/loader.js:892
|   throw err;
|   ^
|
| Error: Cannot find module '../helpers/index'
| Require stack:
| - /run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js
|     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:889:15)
|     at Function.Module._load (internal/modules/cjs/loader.js:745:27)
|     at Module.require (internal/modules/cjs/loader.js:961:19)
|     at require (internal/modules/cjs/helpers.js:92:18)
|     at Object.<anonymous> (/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js:4:23)
|     at Module._compile (internal/modules/cjs/loader.js:1072:14)
|     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
|     at Module.load (internal/modules/cjs/loader.js:937:32)
|     at Function.Module._load (internal/modules/cjs/loader.js:778:12)
|     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) {
|   code: 'MODULE_NOT_FOUND',
|   requireStack: [
|     '/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js'
|   ]
| }
DEBU[0002] exit with `FAILURE`: 1
[version_bump/deps     ]   ❌  Failure - ※ Prepare Node.js subsystem project dependencies
DEBU[0002] exit with `FAILURE`: 1
DEBU[0002] Cloned https://github.com/catalyst-stack/github-actions to /Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master
DEBU[0002] Checked out master
DEBU[0002] Read action &{Node.js Subsystem Dependencies AlmirKadric Boilerplate dependency installation for a Node.js subsystem project map[cache-key:{Unique key identity for saving and restoring to and from the cache. The `` default will be used if not provided.
※ This is a proxy to the `key` input for the `actions/cache` action.
 false } cache-path:{Newline seperated list of path(s) which should be cached. This defaults to `./node_modules` if not provided.
※ This is a proxy to the `path` input for the `actions/cache` action.
 false ./node_modules
} node-version:{Node.js version to setup. This defaults to '14' if not provided.
※ This is a proxy to the `node-version` input for the `actions/setup-node` action.
 false 14} target-ref:{The git ref we should setup the job against. This defaults to the SHA or ref of the event which triggered the job.
※ This is a proxy to the `target-ref` input for the `catalyst-stack/github-actions/input-or-ref-name` action. ※ This is a proxy to the `ref` input for the `actions/checkout` action.
 false } token:{ false ${{ github.token }}}] map[] {node12 map[] ./main.js  [] [] []} { }} from 'Unknown'
DEBU[0002] About to run action &{Node.js Subsystem Dependencies AlmirKadric Boilerplate dependency installation for a Node.js subsystem project map[cache-key:{Unique key identity for saving and restoring to and from the cache. The `` default will be used if not provided.
※ This is a proxy to the `key` input for the `actions/cache` action.
 false } cache-path:{Newline seperated list of path(s) which should be cached. This defaults to `./node_modules` if not provided.
※ This is a proxy to the `path` input for the `actions/cache` action.
 false ./node_modules
} node-version:{Node.js version to setup. This defaults to '14' if not provided.
※ This is a proxy to the `node-version` input for the `actions/setup-node` action.
 false 14} target-ref:{The git ref we should setup the job against. This defaults to the SHA or ref of the event which triggered the job.
※ This is a proxy to the `target-ref` input for the `catalyst-stack/github-actions/input-or-ref-name` action. ※ This is a proxy to the `ref` input for the `actions/checkout` action.
 false } token:{ false ${{ github.token }}}] map[] {node12 map[] ./main.js  [] [] []} { }}
DEBU[0002] Evaluating 'github['token']' instead of 'github.token'
DEBU[0002] type=3 actionDir=/Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master actionPath=nodejs-subsystem-deps Workdir=/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo ActionCacheDir=/Users/almirkadric/.cache/act actionName=catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps containerActionDir=/var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps
DEBU[0002] Removing /Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/.gitignore before docker cp
[test/deps             ]   🐳  docker cp src=/Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/ dst=/var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/
[test/deps             ]   🐳  docker exec cmd=[mkdir -p /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/] user=
[test/deps             ] Exec command '[mkdir -p /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/]'
DEBU[0002] Writing tarball /var/folders/01/29xyn_xx6kl1gj8zvqqp6nwc0000gn/T/act884964418 from /Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/
DEBU[0002] Stripping prefix:/Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/ src:/Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/
[test/deps             ] Extracting content from '/var/folders/01/29xyn_xx6kl1gj8zvqqp6nwc0000gn/T/act884964418' to '/var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/'
DEBU[0002] executing remote job container: [node /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js]
[test/deps             ]   🐳  docker exec cmd=[node /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js] user=
[test/deps             ] Exec command '[node /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js]'
| internal/modules/cjs/loader.js:892
|   throw err;
|   ^
|
| Error: Cannot find module '../helpers/index'
| Require stack:
| - /run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js
|     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:889:15)
|     at Function.Module._load (internal/modules/cjs/loader.js:745:27)
|     at Module.require (internal/modules/cjs/loader.js:961:19)
|     at require (internal/modules/cjs/helpers.js:92:18)
|     at Object.<anonymous> (/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js:4:23)
|     at Module._compile (internal/modules/cjs/loader.js:1072:14)
|     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
|     at Module.load (internal/modules/cjs/loader.js:937:32)
|     at Function.Module._load (internal/modules/cjs/loader.js:778:12)
|     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) {
|   code: 'MODULE_NOT_FOUND',
|   requireStack: [
|     '/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js'
|   ]
| }
DEBU[0002] exit with `FAILURE`: 1
[test/deps             ]   ❌  Failure - ※ Prepare Node.js subsystem project dependencies
DEBU[0002] exit with `FAILURE`: 1
DEBU[0002] exit with `FAILURE`: 1
Error: exit with `FAILURE`: 1
Originally created by @AlmirKadric on GitHub (Sep 16, 2021). Original GitHub issue: https://github.com/nektos/act/issues/817 <!-- - Make sure you are able to reproduce it on the [latest version](https://github.com/nektos/act/releases) - Search the existing issues. - Refer to [README](https://github.com/nektos/act/blob/master/README.md). --> ## System information <!-- - Operating System: < Windows | Linux | macOS | etc... > - Architecture: < x64 (64-bit) | x86 (32-bit) | arm64 (64-bit) | arm (32-bit) | etc... > - Apple M1: < yes | no > - Docker version: < output of `docker system info -f "{{.ServerVersion}}"` > - Docker image used in `act`: < can be omitted if it's included in log > - `act` version: < output of `act --version`, if you've built `act` yourself, please provide commit hash > --> - Operating System: macOS - Architecture: x64 - Apple M1: no - Docker version: 20.10.6 - `act` version: 0.2.24 ## Expected behaviour Custom github-actions are properly pulled along and run like they would on github ## Actual behaviour The custom github-action is copied from the subfolder path of the action instead of from the root of the git repo. This causes repos which hold multiple action and have shared dependencies to be missed. ## Workflow and/or repository <!-- - Provide workflow with which we can reproduce the issue OR - Provide link to your GitHub repository that contains the workflow --> <details> <summary>workflow</summary> ```none name: test on: push: branches: [ master ] jobs: deps: runs-on: ubuntu-latest steps: - name: '※ Prepare Node.js subsystem project dependencies' uses: catalyst-stack/github-actions/nodejs-subsystem-deps@master with: target-ref: ${{ github.event.inputs.target-ref }} test-lint: runs-on: ubuntu-latest needs: [deps] steps: - name: '※ Test lint' uses: catalyst-stack/github-actions/nodejs-subsystem-script@master with: target-ref: ${{ github.event.inputs.target-ref }} npm-script: test:lint ``` </details> ## Steps to reproduce <!-- - Make sure to include full command with parameters you used to run `act`, example: 1. Clone example repo (https://github.com/cplee/github-actions-demo) 2. Enter cloned repo directory 3. Run `act -s SUPER_SECRET=im-a-value` --> check log, command is there ## `act` output <!-- - Use `act` with `-v`/`--verbose` and paste output from your terminal in code block below --> <details> <summary>Log</summary> ```none $ act test -j test-lint -v DEBU[0000] Loading environment from /Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.env DEBU[0000] Loading secrets from /Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.secrets DEBU[0000] Loading workflows from '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows' DEBU[0000] Loading workflows recursively DEBU[0000] Found workflow 'release_npm.yaml' in '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows/release_npm.yaml' DEBU[0000] Found workflow 'test.yaml' in '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows/test.yaml' DEBU[0000] Found workflow 'version_bump.yaml' in '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows/version_bump.yaml' DEBU[0000] Reading workflow '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows/release_npm.yaml' DEBU[0000] Correcting if statements '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows/release_npm.yaml' DEBU[0000] Reading workflow '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows/test.yaml' DEBU[0000] Correcting if statements '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows/test.yaml' DEBU[0000] Reading workflow '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows/version_bump.yaml' DEBU[0000] Correcting if statements '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.github/workflows/version_bump.yaml' DEBU[0000] Planning job: test-lint DEBU[0000] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' WARN[0000] unable to get git repo: section "remote \"origin\"" does not exist DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0000] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0000] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654' DEBU[0000] using github ref: refs/heads/master DEBU[0000] context env => map[ACT:true] DEBU[0000] context needs => map[] DEBU[0000] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' WARN[0000] unable to get git repo: section "remote \"origin\"" does not exist DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0000] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0000] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654' DEBU[0000] using github ref: refs/heads/master DEBU[0000] context env => map[ACT:true] DEBU[0000] context needs => map[] DEBU[0000] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' WARN[0000] unable to get git repo: section "remote \"origin\"" does not exist DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0000] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0000] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654' DEBU[0000] using github ref: refs/heads/master DEBU[0000] context env => map[ACT:true] DEBU[0000] context needs => map[deps:map[outputs:map[]]] DEBU[0000] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' WARN[0000] unable to get git repo: section "remote \"origin\"" does not exist DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0000] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0000] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654' DEBU[0000] using github ref: refs/heads/master DEBU[0000] context env => map[ACT:true] DEBU[0000] context needs => map[deps:map[outputs:map[]]] [version_bump/deps ] 🚀 Start image=catthehacker/ubuntu:act-latest [test/deps ] 🚀 Start image=catthehacker/ubuntu:act-latest DEBU[0000] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' WARN[0000] unable to get git repo: section "remote \"origin\"" does not exist DEBU[0000] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0000] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' WARN[0000] unable to get git repo: section "remote \"origin\"" does not exist DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0000] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654' DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0000] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0000] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654' DEBU[0000] using github ref: refs/heads/master [version_bump/deps ] 🐳 docker pull catthehacker/ubuntu:act-latest DEBU[0000] using github ref: refs/heads/master [test/deps ] 🐳 docker pull catthehacker/ubuntu:act-latest DEBU[0000] Image exists? true DEBU[0000] Image exists? true [version_bump/deps ] Removed container: 89d2b5829f832ae96d2cf87c87c337f1665d11d54f54a34cd0db60400399357d [version_bump/deps ] 🐳 docker volume rm act-version-bump-deps [version_bump/deps ] 🐳 docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [test/deps ] Removed container: 2d98af538b13ece11416fb45eac6b4db8ef1bcac436f27773edc393a1b918d7e [test/deps ] 🐳 docker volume rm act-test-deps [test/deps ] 🐳 docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [version_bump/deps ] Created container name=act-version-bump-deps id=8ce49366e27b30b0923a66accbd36420d8a66c6cc59c849dfbc322ad8fa64e97 from image catthehacker/ubuntu:act-latest (platform: ) [version_bump/deps ] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [version_bump/deps ] 🐳 docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [version_bump/deps ] Starting container: 8ce49366e27b30b0923a66accbd36420d8a66c6cc59c849dfbc322ad8fa64e97 [test/deps ] Created container name=act-test-deps id=abdaabca6dd1be8b7fe5650ffd642575add38646771fdd7f6af3e2b0882ad5f9 from image catthehacker/ubuntu:act-latest (platform: ) [test/deps ] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [test/deps ] 🐳 docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [test/deps ] Starting container: abdaabca6dd1be8b7fe5650ffd642575add38646771fdd7f6af3e2b0882ad5f9 [version_bump/deps ] Started container: 8ce49366e27b30b0923a66accbd36420d8a66c6cc59c849dfbc322ad8fa64e97 [test/deps ] Started container: abdaabca6dd1be8b7fe5650ffd642575add38646771fdd7f6af3e2b0882ad5f9 [version_bump/deps ] 🐳 docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root [version_bump/deps ] Exec command '[mkdir -m 0777 -p /var/run/act]' [test/deps ] 🐳 docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root [test/deps ] Exec command '[mkdir -m 0777 -p /var/run/act]' DEBU[0000] Writing entry to tarball workflow/event.json len:2 DEBU[0000] Writing entry to tarball workflow/envs.txt len:0 DEBU[0000] Writing entry to tarball workflow/paths.txt len:0 [version_bump/deps ] Extracting content to '/var/run/act/' DEBU[0000] Writing entry to tarball workflow/event.json len:2 DEBU[0000] Writing entry to tarball workflow/envs.txt len:0 DEBU[0000] Writing entry to tarball workflow/paths.txt len:0 [test/deps ] Extracting content to '/var/run/act/' DEBU[0000] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' WARN[0000] unable to get git repo: section "remote \"origin\"" does not exist DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0000] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0000] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654' DEBU[0000] using github ref: refs/heads/master DEBU[0000] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' WARN[0000] unable to get git repo: section "remote \"origin\"" does not exist DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0000] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' DEBU[0000] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0000] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654' DEBU[0000] using github ref: refs/heads/master DEBU[0001] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' WARN[0001] unable to get git repo: section "remote \"origin\"" does not exist DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0001] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0001] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654' DEBU[0001] using github ref: refs/heads/master DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] DEBU[0001] context needs => map[] DEBU[0001] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' WARN[0001] unable to get git repo: section "remote \"origin\"" does not exist DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0001] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0001] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654' DEBU[0001] using github ref: refs/heads/master DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] DEBU[0001] context needs => map[] DEBU[0001] Evaluating 'github['event']['inputs']['target-ref']' instead of 'github.event.inputs.target-ref' ERRO[0001] Unable to interpolate string '${{ github.event.inputs.target-ref }}' - [TypeError: Cannot access member 'target-ref' of undefined] DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:test GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:deps GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:3b798d30317248e427957504681b58c3cd4f6654 GITHUB_TOKEN: GITHUB_WORKFLOW:version_bump GITHUB_WORKSPACE:/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo IMAGE_OS:ubuntu20 INPUT_TARGET-REF:${{ github.event.inputs.target-ref }} ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] DEBU[0001] Evaluating 'github['event']['inputs']['target-ref']' instead of 'github.event.inputs.target-ref' ERRO[0001] Unable to interpolate string '${{ github.event.inputs.target-ref }}' - [TypeError: Cannot access member 'target-ref' of undefined] [version_bump/deps ] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:test GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:deps GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:3b798d30317248e427957504681b58c3cd4f6654 GITHUB_TOKEN: GITHUB_WORKFLOW:version_bump GITHUB_WORKSPACE:/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo IMAGE_OS:ubuntu20 INPUT_TARGET-REF: ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] [version_bump/deps ] ⭐ Run ※ Prepare Node.js subsystem project dependencies DEBU[0001] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' WARN[0001] unable to get git repo: section "remote \"origin\"" does not exist DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0001] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0001] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654' DEBU[0001] using github ref: refs/heads/master INFO[0001] ☁ git clone 'https://github.com/catalyst-stack/github-actions' # ref=master DEBU[0001] cloning https://github.com/catalyst-stack/github-actions to /Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master DEBU[0001] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' WARN[0001] unable to get git repo: section "remote \"origin\"" does not exist DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0001] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0001] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654' DEBU[0001] using github ref: refs/heads/master DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] DEBU[0001] context needs => map[] DEBU[0001] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' WARN[0001] unable to get git repo: section "remote \"origin\"" does not exist DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0001] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0001] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654' DEBU[0001] using github ref: refs/heads/master DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] DEBU[0001] context needs => map[] DEBU[0001] Evaluating 'github['event']['inputs']['target-ref']' instead of 'github.event.inputs.target-ref' ERRO[0001] Unable to interpolate string '${{ github.event.inputs.target-ref }}' - [TypeError: Cannot access member 'target-ref' of undefined] DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:test GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:deps GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:3b798d30317248e427957504681b58c3cd4f6654 GITHUB_TOKEN: GITHUB_WORKFLOW:test GITHUB_WORKSPACE:/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo IMAGE_OS:ubuntu20 INPUT_TARGET-REF:${{ github.event.inputs.target-ref }} ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] DEBU[0001] Evaluating 'github['event']['inputs']['target-ref']' instead of 'github.event.inputs.target-ref' ERRO[0001] Unable to interpolate string '${{ github.event.inputs.target-ref }}' - [TypeError: Cannot access member 'target-ref' of undefined] [test/deps ] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:test GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:deps GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:3b798d30317248e427957504681b58c3cd4f6654 GITHUB_TOKEN: GITHUB_WORKFLOW:test GITHUB_WORKSPACE:/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo IMAGE_OS:ubuntu20 INPUT_TARGET-REF: ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] [test/deps ] ⭐ Run ※ Prepare Node.js subsystem project dependencies DEBU[0001] Loading slug from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' WARN[0001] unable to get git repo: section "remote \"origin\"" does not exist DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0001] Loading revision from git directory '/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo/.git' DEBU[0001] Found revision: 3b798d30317248e427957504681b58c3cd4f6654 DEBU[0001] HEAD points to '3b798d30317248e427957504681b58c3cd4f6654' DEBU[0001] using github ref: refs/heads/master INFO[0001] ☁ git clone 'https://github.com/catalyst-stack/github-actions' # ref=master DEBU[0001] cloning https://github.com/catalyst-stack/github-actions to /Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master DEBU[0001] Provided ref is not a sha. Checking out branch before pulling changes DEBU[0001] Cloned https://github.com/catalyst-stack/github-actions to /Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master DEBU[0001] Checked out master DEBU[0001] Read action &{Node.js Subsystem Dependencies AlmirKadric Boilerplate dependency installation for a Node.js subsystem project map[cache-key:{Unique key identity for saving and restoring to and from the cache. The `` default will be used if not provided. ※ This is a proxy to the `key` input for the `actions/cache` action. false } cache-path:{Newline seperated list of path(s) which should be cached. This defaults to `./node_modules` if not provided. ※ This is a proxy to the `path` input for the `actions/cache` action. false ./node_modules } node-version:{Node.js version to setup. This defaults to '14' if not provided. ※ This is a proxy to the `node-version` input for the `actions/setup-node` action. false 14} target-ref:{The git ref we should setup the job against. This defaults to the SHA or ref of the event which triggered the job. ※ This is a proxy to the `target-ref` input for the `catalyst-stack/github-actions/input-or-ref-name` action. ※ This is a proxy to the `ref` input for the `actions/checkout` action. false } token:{ false ${{ github.token }}}] map[] {node12 map[] ./main.js [] [] []} { }} from 'Unknown' DEBU[0001] About to run action &{Node.js Subsystem Dependencies AlmirKadric Boilerplate dependency installation for a Node.js subsystem project map[cache-key:{Unique key identity for saving and restoring to and from the cache. The `` default will be used if not provided. ※ This is a proxy to the `key` input for the `actions/cache` action. false } cache-path:{Newline seperated list of path(s) which should be cached. This defaults to `./node_modules` if not provided. ※ This is a proxy to the `path` input for the `actions/cache` action. false ./node_modules } node-version:{Node.js version to setup. This defaults to '14' if not provided. ※ This is a proxy to the `node-version` input for the `actions/setup-node` action. false 14} target-ref:{The git ref we should setup the job against. This defaults to the SHA or ref of the event which triggered the job. ※ This is a proxy to the `target-ref` input for the `catalyst-stack/github-actions/input-or-ref-name` action. ※ This is a proxy to the `ref` input for the `actions/checkout` action. false } token:{ false ${{ github.token }}}] map[] {node12 map[] ./main.js [] [] []} { }} DEBU[0001] Evaluating 'github['token']' instead of 'github.token' DEBU[0001] type=3 actionDir=/Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master actionPath=nodejs-subsystem-deps Workdir=/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo ActionCacheDir=/Users/almirkadric/.cache/act actionName=catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps containerActionDir=/var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps DEBU[0001] Removing /Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/.gitignore before docker cp [version_bump/deps ] 🐳 docker cp src=/Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/ dst=/var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/ [version_bump/deps ] 🐳 docker exec cmd=[mkdir -p /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/] user= [version_bump/deps ] Exec command '[mkdir -p /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/]' DEBU[0001] Writing tarball /var/folders/01/29xyn_xx6kl1gj8zvqqp6nwc0000gn/T/act570375343 from /Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/ DEBU[0001] Stripping prefix:/Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/ src:/Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/ [version_bump/deps ] Extracting content from '/var/folders/01/29xyn_xx6kl1gj8zvqqp6nwc0000gn/T/act570375343' to '/var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/' DEBU[0001] executing remote job container: [node /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js] [version_bump/deps ] 🐳 docker exec cmd=[node /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js] user= [version_bump/deps ] Exec command '[node /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js]' DEBU[0001] Provided ref is not a sha. Checking out branch before pulling changes | internal/modules/cjs/loader.js:892 | throw err; | ^ | | Error: Cannot find module '../helpers/index' | Require stack: | - /run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:889:15) | at Function.Module._load (internal/modules/cjs/loader.js:745:27) | at Module.require (internal/modules/cjs/loader.js:961:19) | at require (internal/modules/cjs/helpers.js:92:18) | at Object.<anonymous> (/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js:4:23) | at Module._compile (internal/modules/cjs/loader.js:1072:14) | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10) | at Module.load (internal/modules/cjs/loader.js:937:32) | at Function.Module._load (internal/modules/cjs/loader.js:778:12) | at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) { | code: 'MODULE_NOT_FOUND', | requireStack: [ | '/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js' | ] | } DEBU[0002] exit with `FAILURE`: 1 [version_bump/deps ] ❌ Failure - ※ Prepare Node.js subsystem project dependencies DEBU[0002] exit with `FAILURE`: 1 DEBU[0002] Cloned https://github.com/catalyst-stack/github-actions to /Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master DEBU[0002] Checked out master DEBU[0002] Read action &{Node.js Subsystem Dependencies AlmirKadric Boilerplate dependency installation for a Node.js subsystem project map[cache-key:{Unique key identity for saving and restoring to and from the cache. The `` default will be used if not provided. ※ This is a proxy to the `key` input for the `actions/cache` action. false } cache-path:{Newline seperated list of path(s) which should be cached. This defaults to `./node_modules` if not provided. ※ This is a proxy to the `path` input for the `actions/cache` action. false ./node_modules } node-version:{Node.js version to setup. This defaults to '14' if not provided. ※ This is a proxy to the `node-version` input for the `actions/setup-node` action. false 14} target-ref:{The git ref we should setup the job against. This defaults to the SHA or ref of the event which triggered the job. ※ This is a proxy to the `target-ref` input for the `catalyst-stack/github-actions/input-or-ref-name` action. ※ This is a proxy to the `ref` input for the `actions/checkout` action. false } token:{ false ${{ github.token }}}] map[] {node12 map[] ./main.js [] [] []} { }} from 'Unknown' DEBU[0002] About to run action &{Node.js Subsystem Dependencies AlmirKadric Boilerplate dependency installation for a Node.js subsystem project map[cache-key:{Unique key identity for saving and restoring to and from the cache. The `` default will be used if not provided. ※ This is a proxy to the `key` input for the `actions/cache` action. false } cache-path:{Newline seperated list of path(s) which should be cached. This defaults to `./node_modules` if not provided. ※ This is a proxy to the `path` input for the `actions/cache` action. false ./node_modules } node-version:{Node.js version to setup. This defaults to '14' if not provided. ※ This is a proxy to the `node-version` input for the `actions/setup-node` action. false 14} target-ref:{The git ref we should setup the job against. This defaults to the SHA or ref of the event which triggered the job. ※ This is a proxy to the `target-ref` input for the `catalyst-stack/github-actions/input-or-ref-name` action. ※ This is a proxy to the `ref` input for the `actions/checkout` action. false } token:{ false ${{ github.token }}}] map[] {node12 map[] ./main.js [] [] []} { }} DEBU[0002] Evaluating 'github['token']' instead of 'github.token' DEBU[0002] type=3 actionDir=/Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master actionPath=nodejs-subsystem-deps Workdir=/Users/almirkadric/Projects/CatalystStack/subsystems/subsystem-dbms-nodejs-aws-dynamo ActionCacheDir=/Users/almirkadric/.cache/act actionName=catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps containerActionDir=/var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps DEBU[0002] Removing /Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/.gitignore before docker cp [test/deps ] 🐳 docker cp src=/Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/ dst=/var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/ [test/deps ] 🐳 docker exec cmd=[mkdir -p /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/] user= [test/deps ] Exec command '[mkdir -p /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/]' DEBU[0002] Writing tarball /var/folders/01/29xyn_xx6kl1gj8zvqqp6nwc0000gn/T/act884964418 from /Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/ DEBU[0002] Stripping prefix:/Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/ src:/Users/almirkadric/.cache/act/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/ [test/deps ] Extracting content from '/var/folders/01/29xyn_xx6kl1gj8zvqqp6nwc0000gn/T/act884964418' to '/var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/' DEBU[0002] executing remote job container: [node /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js] [test/deps ] 🐳 docker exec cmd=[node /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js] user= [test/deps ] Exec command '[node /var/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js]' | internal/modules/cjs/loader.js:892 | throw err; | ^ | | Error: Cannot find module '../helpers/index' | Require stack: | - /run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:889:15) | at Function.Module._load (internal/modules/cjs/loader.js:745:27) | at Module.require (internal/modules/cjs/loader.js:961:19) | at require (internal/modules/cjs/helpers.js:92:18) | at Object.<anonymous> (/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js:4:23) | at Module._compile (internal/modules/cjs/loader.js:1072:14) | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10) | at Module.load (internal/modules/cjs/loader.js:937:32) | at Function.Module._load (internal/modules/cjs/loader.js:778:12) | at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) { | code: 'MODULE_NOT_FOUND', | requireStack: [ | '/run/act/actions/catalyst-stack-github-actions-nodejs-subsystem-deps@master/nodejs-subsystem-deps/main.js' | ] | } DEBU[0002] exit with `FAILURE`: 1 [test/deps ] ❌ Failure - ※ Prepare Node.js subsystem project dependencies DEBU[0002] exit with `FAILURE`: 1 DEBU[0002] exit with `FAILURE`: 1 Error: exit with `FAILURE`: 1 ``` </details>
Author
Owner

@catthehacker commented on GitHub (Sep 16, 2021):

This has been already fixed by #774

<!-- gh-comment-id:920641258 --> @catthehacker commented on GitHub (Sep 16, 2021): This has been already fixed by #774
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#500
No description provided.