Skip to content

v4.6.0

v4.6.0 #2

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code, and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Publish Release
on:
push:
branches: [master]
jobs:
deploy:
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
token: ${{ secrets.BOT_TOKEN }}
fetch-depth: 0
ref: 'master'
- name: Set Node Version
uses: actions/setup-node@v3
with:
node-version: 14
- name: Install Dependencies
run: yarn install --immutable
- name: Lint Source Code
run: yarn lint
- name: Setup Publish Config
run: |
yarn config set npmAuthToken "${{ secrets.NPM_TOKEN }}"
git config --global user.email ${{ secrets.GH_EMAIL }}
git config --global user.name ${{ secrets.GH_USER }}
- name: Publish
run: yarn release
- name: Build Docs and Deploy
run: yarn deploy