Skip to content

1070 ang upgrade

1070 ang upgrade #1158

Workflow file for this run

name: 'Netlify Preview Deploy'
on:
pull_request:
types: ['opened', 'edited', 'synchronize']
jobs:
deploy:
name: 'Deploy'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Use Java 11
uses: actions/setup-java@v2
with:
distribution: zulu
java-version: 11
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm run build:libs
- name: Build EUI
run: |
npm run build ccf-eui -- --output-hashing=none --base-href=/ --configuration=staging
npm run build:ccf-eui:wc
- name: Build RUI
run: |
npm run build ccf-rui -- --project ccf-rui --output-hashing=none --base-href=/rui/ --configuration=staging
npm run build:ccf-rui:wc
mkdir -p dist/ccf-ui
cp -r dist/ccf-rui dist/ccf-ui/rui
- name: Build Organ Info
run: |
npm run build ccf-organ-info -- --project ccf-organ-info --output-hashing=none --base-href=/organ-info/ #--configuration=staging
#npm run build:ccf-organ-info:wc
mkdir -p dist/ccf-ui
cp -r dist/ccf-organ-info dist/ccf-ui/organ-info
- name: Build Body UI WC
run: |
npm run build ccf-body-ui-wc -- --project ccf-body-ui-wc --output-hashing=none --base-href=/body-ui/ #--configuration=staging
npm run build:ccf-body-ui-wc:wc
mkdir -p dist/ccf-ui
cp -r dist/ccf-body-ui-wc dist/ccf-ui/body-ui
- uses: jsmrcaga/[email protected]
with:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
use_nvm: false
build_command: echo
install_command: echo
build_directory: dist/ccf-ui