Skip to content

chore: release 0.3.8 #56

chore: release 0.3.8

chore: release 0.3.8 #56

Workflow file for this run

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 }}