fix: π workaround due mako's interop add default to a empty file (#12β¦ #8448
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node CI | |
env: | |
NODE_OPTIONS: --max-old-space-size=6144 | |
on: | |
push: | |
paths-ignore: | |
- '.github/**/*.md' | |
- 'examples/**' | |
- 'docs/**' | |
- '*.md' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node_version: [12, 14] | |
os: [ubuntu-latest, macos-13, windows-latest] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Use Node.js ${{ matrix.node_version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node_version }} | |
- name: restore lerna | |
id: cache | |
uses: actions/cache@v2 | |
with: | |
path: | | |
node_modules | |
*/*/node_modules | |
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} | |
- name: install | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: yarn --ignore-engines --frozen-lockfile | |
- run: yarn build | |
- run: yarn run tsc --noEmit | |
- run: yarn test --detectOpenHandles --maxWorkers=1 --forceExit | |
env: | |
CI: true | |
HEADLESS: false | |
PROGRESS: none | |
NODE_ENV: test |