Skip to content

Bahmni Form Controls Package #30

Bahmni Form Controls Package

Bahmni Form Controls Package #30

Workflow file for this run

name: Bahmni Form Controls Package
on:
push:
branches:
- master
- 'release-*'
tags:
- '*'
workflow_dispatch:
jobs:
build:
runs-on: macos-13
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: Set up Node JS v14.2.0
uses: actions/setup-node@v4
with:
node-version: 14.2.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