Skip to content

Merge pull request #102 from Bahmni/BAH-3700 #15

Merge pull request #102 from Bahmni/BAH-3700

Merge pull request #102 from Bahmni/BAH-3700 #15

Workflow file for this run

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