Skip to content

chore: release 0.3.9 #50

chore: release 0.3.9

chore: release 0.3.9 #50

Workflow file for this run

name: Release
on:
push:
branches:
- foobar
defaults:
run:
working-directory: "packages/npm/send"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.CANDLE_ADMIN_PAC }}
- name: Setup
uses: ./.github/actions/setup
- name: Modify Git Config
run: |
git remote -v
# git remote set-url origin https://candle-admin:${{ secrets.CANDLE_ADMIN_PAC }}@github.com/candlefinance/oss.git
git remote set-url origin https://${{ secrets.CANDLE_ADMIN_PAC }}@github.com/candlefinance/oss
git remote -v
- 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.CANDLE_ADMIN_PAC }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}