This repository has been archived by the owner on Aug 28, 2023. It is now read-only.
Merge pull request #48 from adobe/deprecate #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: npm-publish | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
npm-publish: | |
name: npm-publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@main | |
- name: Set up Node.js | |
uses: actions/setup-node@main | |
with: | |
node-version: 10.0.0 | |
- name: Publish if version has been updated | |
uses: mkiki/npm-publish-action@c4315ef5790b7bcec2cbb75b34e37681a409d78d | |
with: | |
tag_name: "v%s" | |
tag_message: "v%s" | |
commit_pattern: "^Release (\\S+)" | |
workspace: "." | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_AUTH_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} | |
NPM_AUTH: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} |