Skip to content

Support discarding the CST to preserve memory #2579

Support discarding the CST to preserve memory

Support discarding the CST to preserve memory #2579

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Langium CI (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Build
shell: bash
run: |
npm ci
npm run build:clean
npm run validate-exports
- name: Test
if: success() || failure()
shell: bash
run: |
npm run test
lint:
name: Langium Lint
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Build
shell: bash
run: |
npm ci
npm run build:clean
npm run langium:generate
- name: Check Git Status
shell: bash
run: git diff --exit-code .
- name: Lint
shell: bash
run: npm run lint