Skip to content

10.2.0

10.2.0 #91

name: on-push-publish-to-npm
on:
push:
branches:
- master # Change this if not your default branch
paths:
- 'package.json'
jobs:
publish:
if: github.repository == 'adobe/aio-cli'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
- run: npm install
- run: npm test
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}