Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 18 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: CML language server build
on:
pull_request:
push:
branches:
- '**'
- main
release:
types: [published]

Expand All @@ -15,13 +16,11 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
container:
image: node:22-slim
steps:
- name: Prepare debian
run: |
apt update
apt install -y git
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '22'
# required since test report action uses git
- name: Setup git
run: |
Expand All @@ -30,6 +29,9 @@ jobs:

- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
fetch-depth: 0 # a full history is required for pull request analysis

- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down Expand Up @@ -57,6 +59,15 @@ jobs:
- name: Bundle
run: yarn bundle:language-server

- name: Qodana Scan
uses: JetBrains/qodana-action@v2024.3
with:
pr-mode: false
args: --linter,jetbrains/qodana-js:2024.3
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_379728607 }}
QODANA_ENDPOINT: 'https://qodana.cloud'

- name: Upload language server artifact
uses: actions/upload-artifact@v4
with:
Expand Down
29 changes: 0 additions & 29 deletions .github/workflows/qodana_code_quality.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
node_modules/
out/
dist/
coverage/
.qodana/
src/language/generated/
syntaxes/
.idea
Expand Down
Binary file modified .yarn/install-state.gz
Binary file not shown.
5 changes: 3 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Expand Down Expand Up @@ -186,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2025 Lukas Streckeisen

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -198,4 +199,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
Loading
Loading