Skip to content

CDP

CDP #2

Workflow file for this run

# This Continous Deployment (CDP) workflow publishes a package to NPM when a release is created
name: CDP
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish --dry-run
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}