Bindu |add npm dependencies instead of fetching it from cdnjs #1431
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: Validate PR | |
on: | |
pull_request: | |
branches: [ Bahmni-IPD-master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 10.16.3 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- name: Use Ruby 3.1 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 | |
- run: npm install -g bower | |
- run: npm install -g grunt-cli | |
- run: gem install compass | |
- run: npm install --global yarn | |
- name: micro-frontends | install dependencies | |
working-directory: micro-frontends | |
run: yarn install --frozen-lock-file | |
- name: micro-frontends | test | |
working-directory: micro-frontends | |
run: yarn test:ci | |
- name: micro-frontends | build | |
working-directory: micro-frontends | |
run: yarn build | |
- name: Package | |
run : cd ui && yarn cache clean && /bin/bash ./scripts/package.sh |