Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Commit

Permalink
Create npm-manual-publish.yml (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
yangyansong-adbe authored Apr 28, 2022
1 parent f459e04 commit 9842512
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/npm-manual-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This is a basic workflow that is manually triggered

name: npm-manual-publish

# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:
jobs:
publish-latest:
name: publish-latest
runs-on: ubuntu-18.04
steps:
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: ${{ github.ref }}
- name: node
uses: actions/setup-node@v2
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- name: publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}

0 comments on commit 9842512

Please sign in to comment.