Create .npmrc

This commit is contained in:
Drew Powers 2021-09-21 14:54:48 -06:00
parent 47ac7875ac
commit f454b25c91

View file

@ -18,7 +18,8 @@ jobs:
run: yarn changeset version --snapshot compiler
- # 2. discard examples/docs/www changes (just in case)
run: git checkout -- examples/ docs/ www/
- # 3: publish!
- # 3: auth
run: echo '//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}' > ${{ github.workspace }}/.npmrc
- # 4: publish!
run: yarn release --tag next--compiler
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}