Skip to content

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

chore: add scheduled build for macos using finch and docker

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

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: [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+test
run: npx lerna run build+test --stream --bail
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure() # always run, especially if the tests failed
with:
name: Test Report
path: 'packages/**/coverage/junit.xml,tools/**/coverage/junit.xml'
reporter: jest-junit
list-suites: 'failed'
list-tests: 'failed'
max-annotations: '50'