forked from Bahmni/openmrs-module-bahmniapps
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 960 Bytes
/
validate_pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Validate PR
on:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
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