chore: release 0.3.8 #56
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 | |
on: | |
push: | |
branches: | |
- foobar | |
defaults: | |
run: | |
working-directory: "packages/npm/send" | |
jobs: | |
release: | |
# If this is not here, CICD committing the changelog back will kick off a job to commit back the changelog (infinite loop) | |
if: github.actor != 'candle-admin' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
token: ${{ secrets.CANDLE_ADMIN_PAT }} | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Initialize the Npm Config | |
run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Build package | |
run: yarn prepare | |
- name: Publish package | |
run: yarn release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |