Skip to content

Publish to NPM

Publish to NPM #8

Workflow file for this run

name: Publish to NPM
on:
workflow_dispatch:
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
with:
fetch-depth: 0
token: ${{ secrets.ADOBE_BOT_GITHUB_TOKEN }}
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- name: Publish to registry.npmjs.org
run: |
npm ci
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.ADOBE_BOT_NPM_TOKEN}}