v0.1.0-beta.9 #47
Workflow file for this run
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: Release NPM Package | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: "0" | |
token: ${{ secrets.ORY_BOT_PAT }} | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- run: npm run initialize | |
- run: npm run build:clean | |
- run: git checkout main | |
- run: | | |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN_AENEASR }}" > ~/.npmrc | |
- run: make format | |
- run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "ory-bot" | |
git add -A | |
- run: | | |
npx lerna publish -y ${{ github.event.release.tag_name }} --message 'chore(release): bump version to %s' --no-git-tag-version |