Skip to content

v16.6.0-beta-1

v16.6.0-beta-1 #14

Workflow file for this run

name: publish pre-releases as beta to npmjs
on:
release:
types: [prereleased]
jobs:
publish-as-beta:
if: github.repository == 'sverweij/dependency-cruiser'
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.x
registry-url: https://registry.npmjs.org
- run: npm clean-install
- run: npm publish --provenance --access public --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}