Skip to content

πŸ› πŸ› Return the value and make helper text red (#1195) #188

πŸ› πŸ› Return the value and make helper text red (#1195)

πŸ› πŸ› Return the value and make helper text red (#1195) #188

Workflow file for this run

# This workflow takes care of releasing a new version of the package and publishing it to NPM
# when a new releasable change is pushed to master (the releasability is detected using the commits' Gitmojis)
# To learn more about the releasability of the change see: https://github.com/carloscuesta/gitmoji/pull/692
name: Release and publish
on:
push:
branches:
- master
- beta
jobs:
release-and-publish:
runs-on: ubuntu-latest
steps:
- name: CheckoutπŸšͺ
uses: actions/checkout@v2
- name: Read .nvmrc πŸ”
run: echo "::set-output name=NODE_VERSION::$(cat .nvmrc)"
id: nvm
- name: Set up the right node version πŸ“Œ
uses: actions/setup-node@v1
with:
node-version: ${{ steps.nvm.outputs.NODE_VERSION }}
- name: Install dependencies βš™οΈ
run: npm ci
- name: Compile TypeScript
run: npm run build:tsc
- name: Release and publish πŸ“€
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: npm run semantic-release