Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get this action to work #222

Open
peterfortuin opened this issue Nov 15, 2024 · 0 comments
Open

Can't get this action to work #222

peterfortuin opened this issue Nov 15, 2024 · 0 comments

Comments

@peterfortuin
Copy link

peterfortuin commented Nov 15, 2024

Describe the bug
I want to use this action, but it looks like it's installing the tool with npm, but nothing more.

I get the following logging:

Run cycjimmy/semantic-release-action@v4

added 317 packages, and audited 518 packages in 5s
(node:2350) ExperimentalWarning: CommonJS module /opt/hostedtoolcache/node/23.2.0/x64/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /opt/hostedtoolcache/node/23.2.0/x64/lib/node_modules/npm/node_modules/supports-color/index.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
44 packages are looking for funding
  run `npm fund` for details
[9](https://github.com/user/repository/actions/runs/11851724735/job/33028685665#step:7:10) vulnerabilities (2 moderate, 7 high)
To address issues that do not require attention, run:
  npm audit fix
To address all issues (including breaking changes), run:
  npm audit fix --force
Run `npm audit` for details.

Workflow
I have added a .releaserc file and added the following to my pipeline configuration:

- name: Semantic Release
  id: semantic
  uses: cycjimmy/semantic-release-action@v4
  with:
    tag_format: ${{ inputs.service-name }}-v${version}
    working_directory: ./${{ inputs.service-name }}
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expected behavior
Semantic release tool is started and I should see an error or success.

Additional context
I run the semantic-release tool in a subdirectory of my repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant