Skip to content

linux only builds

linux only builds #35

Workflow file for this run

name: Build
on:
push:
branches:
- main
- next
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
node: [18]
runs-on: ${{ matrix.os }}
env:
NODE_OPTIONS: "--max_old_space_size=5120"
YARN_CACHE_FOLDER: ./.yarn/cache
steps:
# Turn off windows-defender for this folder to speed up compile
- if: runner.os == 'Windows'
name: windows-defender
run: powershell -Command Add-MpPreference -ExclusionPath "."
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: yarn
- name: install
run: yarn install --network-timeout 1000000
- name: build
run: yarn xy build