Skip to content

chore: add scheduled build for macos using finch and docker #10

chore: add scheduled build for macos using finch and docker

chore: add scheduled build for macos using finch and docker #10

Workflow file for this run

name: finch-build
on:
workflow_dispatch: {}
pull_request: {}
schedule:
- cron: '42 2 * * 1-5'
#concurrency:
# group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
# cancel-in-progress: true
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- temporary-performance-testing_ubuntu-latest_16-core
- temporary-performance-testing_ubuntu-latest_32-core
- temporary-performance-testing_ubuntu-latest_64-core
container-client: [docker]
include:
- os: macos-latest-xl
container-client: finch
runs-on: ${{ matrix.os }}
permissions:
checks: write
env:
CI: "true"
NODE_OPTIONS: "--max-old-space-size=8192 --experimental-worker"
CDK_DOCKER: ${{ matrix.container-client }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Setup ${{ matrix.container-client }}
if: matrix.container-client == 'finch'
run: |-
brew install --cask finch
finch vm init
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: build
run: npx lerna run build --stream
- name: test
run: npx lerna run test --stream --no-bail
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: success() || failure() # always run, especially if the tests fail
with:
report_paths: '**/coverage/junit.xml'
check_name: Test Report