Use langium language server in nextjs verification example #352
This file contains hidden or 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: Build, Lint and Test | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'dev' | |
tags-ignore: | |
- '**' | |
pull_request: | |
branches: | |
- main | |
- dev | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Volta | |
uses: volta-cli/action@v4 | |
- name: Use pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
version: 9 | |
- name: Install | |
shell: bash | |
run: | | |
npm ci | |
- name: Versions Report | |
shell: bash | |
run: | | |
npm run report:versions | |
- name: Build | |
shell: bash | |
run: | | |
npm run build | |
- name: Lint | |
shell: bash | |
run: | | |
npm run lint | |
- name: Test | |
shell: bash | |
run: | | |
npm run test |