Skip to content

buildId can be undefined #5339

buildId can be undefined

buildId can be undefined #5339

Workflow file for this run

on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 18.x
- name: Install Yarn
run: npm install -g yarn
- name: Install deps
run: |
yarn install
- name: Install acceptance test dep
run: |
yarn install --cwd=acceptance-tests
- name: Verify package dependencies
run: |
npx depcheck --ignores="semver,@types/*"
- name: Lint
run: |
yarn lint
- name: Circular dependency check
run: |
yarn run madge --circular .
- name: TS Build
run: |
yarn build
- name: Test
run: |
yarn test
- name: Test-CLI
run: |
yarn test-cli
env:
PORTAL_ID: ${{ secrets.ACCEPTANCE_TEST_PORTAL_ID }}
PERSONAL_ACCESS_KEY: ${{ secrets.ACCEPTANCE_TEST_PERSONAL_ACCESS_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build Failure Slack Report
uses: ravsamhq/notify-slack-action@v2
if: ${{ always() && github.ref_name == 'main' }}
with:
status: ${{ job.status }}
notify_when: 'failure'
mention_groups: 'S07FLKPAPAS'
notification_title: 'CLI build failure'
message_format: '{emoji} *Build* {status_message} in <{repo_url}|{repo}> on <{commit_url}|{commit_sha}>'
footer: '<{run_url}|View Run>'
env:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}