Skip to content

Limit XMX and XMS to avoid getting killed #32

Limit XMX and XMS to avoid getting killed

Limit XMX and XMS to avoid getting killed #32

Workflow file for this run

name: Monitor bundle size
on:
push:
branches: [main]
pull_request:
branches: ["**"]
types: [synchronize, opened, reopened]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "17.6.0"
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
cache: sbt
- run: sbt "frontend/buildFrontend"
- name: Run BundleMon
working-directory: ./modules/frontend
run: ./node_modules/.bin/bundlemon
env:
CI_COMMIT_SHA: ${{github.event.pull_request.head.sha || github.sha}} # important!