Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

cucumber/action-publish-npm

Test

action-publish-npm

Deprecated: Use trusted publishing instead.

Publishes an NPM module to https://npmjs.com

Needs Node to be installed first.

Inputs

  • npm-token
  • working-directory (optional, default .)
  • npm-tag (optional, default latest)

Example

name: Publish on: push: branches: - "release/*" jobs: publish-ui: name: Publish UI package to NPM runs-on: ubuntu-latest environment: Release steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: '16' cache: 'npm' cache-dependency-path: packages/ui/package-lock.json - uses: cucumber/action-publish-npm@v1.0.0 with: npm-token: ${{ secrets.NPM_TOKEN }} working-directory: "packages/ui"

About

GitHub Action to publish an NPM module

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors 5