Skip to content

chore: release v0.46.0 (#682) #374

chore: release v0.46.0 (#682)

chore: release v0.46.0 (#682) #374

name: Ship js Prepare
on:
workflow_dispatch:
push:
branches:
- main
jobs:
prepare:
runs-on: ubuntu-latest
if: ${{ !startsWith(github.event.head_commit.message, format('chore{0} release', ':')) }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
ref: main
- uses: actions/setup-node@v2
with:
node-version: '16'
- run: npm ci
- run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
- run: npm run release -- --yes --no-browse
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_INCOMING_HOOK: ${{ secrets.SLACK_INCOMING_HOOK }}