Skip to content

Support users to replace parser rules which are used only as type for cross-references by type declarations #2564

Support users to replace parser rules which are used only as type for cross-references by type declarations

Support users to replace parser rules which are used only as type for cross-references by type declarations #2564

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