Skip to content

Commit

Permalink
Merge pull request #305 from adobe/main
Browse files Browse the repository at this point in the history
Merge Down from Main to Staging
  • Loading branch information
cacheung authored Nov 22, 2023
2 parents 43be0ce + d5e5bfd commit eac9406
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/tag-beta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This is a basic workflow that is manually triggered

name: npm-publish

# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:
jobs:
npm-tag-beta:
name: npm-tag
runs-on: ubuntu-latest
steps:
- name: Authenticate with Registry
run: |
echo "@adobe:registry=https://registry.npmjs.org/" > .npmrc
echo "registry=https://registry.npmjs.org/" >> .npmrc
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
npm whoami
env: # More info about the environment variables in the README
NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} # This will be shared with your repo as an org secret
- name: tag messaging
run: npm dist-tag add @adobe/[email protected] beta
env: # More info about the environment variables in the README
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} # This will be shared with your repo as an org secret
- name: tag messaging latest
run: npm dist-tag add @adobe/[email protected] latest
env: # More info about the environment variables in the README
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} # This will be shared with your repo as an org secret

0 comments on commit eac9406

Please sign in to comment.