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

Merge pull request #7 from adobe/deprecate #3

Merge pull request #7 from adobe/deprecate

Merge pull request #7 from adobe/deprecate #3

Workflow file for this run

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 }}