Skip to content

[JN-1169] add BASE permission #2578

[JN-1169] add BASE permission

[JN-1169] add BASE permission #2578

Workflow file for this run

name: UI CI
on:
push:
branches: [ development ]
paths-ignore: [ '*.md']
pull_request:
branches: [ '**' ]
merge_group:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
- name: Install dependencies
run: npm ci
- name: Build ui-core
run: npm --workspace=ui-core run build
- name: Lint
run: npm run lint
- name: Build admin/participant UIs
run: DISABLE_ESLINT_PLUGIN=true npm --workspace=ui-admin --workspace=ui-participant run build
- name: Run tests
run: npm --workspace=ui-core --workspace=ui-admin --workspace=ui-participant test
- name: Notify slack on failure
uses: broadinstitute/action-slack@v3.8.0
if: failure() && github.ref == 'refs/heads/development'
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
channel: '#juniper-dev-notifications'
status: failure
author_name: UI CI build failed on merge to development
fields: job
text: "UI CI build failed :sadpanda:"
username: 'Pearl Build Notifications'