docs: Maintenance mode #21
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: publish | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 18.x | |
registry-url: 'https://registry.npmjs.org' | |
- uses: bahmutov/npm-install@v1 | |
# Seems like after squash & merge the author is unknown to lerna | |
- run: git config --global user.email "[email protected]" && git config --global user.name "Jan Amann" | |
- run: yarn run publish | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |