[Rahul] | BAH-3582 | Add. Bump Up The Fix Version #25
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bahmni Form Controls Package | |
on: | |
push: | |
branches: | |
- master | |
- 'release-*' | |
tags: | |
- '*' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v3 | |
- name: Set up Node JS 10.19.0 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 12.13.0 | |
registry-url: 'https://registry.npmjs.org' | |
- run: yarn cache clean | |
- name: Install dependencies | |
run: brew install automake autoconf libtool dpkg pkgconfig nasm libpng | |
- name: yarn Install | |
run: yarn | |
- name: yarn test | |
run: yarn test | |
- run: yarn ci | |
- name: Publish the package | |
if: startsWith(github.ref, 'refs/tags/') | |
run: yarn publish | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | |
always-auth: true |