Add API key validation for server connections and update session mana… #3992
This file contains 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 | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20, 22] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "recursive" | |
fetch-depth: 10 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "${{ matrix.node-version }}" | |
cache: yarn | |
- run: yarn install --frozen-lockfile --prefer-offline | |
- name: typecheck | |
run: yarn typecheck | |
- name: compile | |
run: yarn compile | |
- name: lint | |
run: yarn lint | |
- name: package vscode | |
run: yarn package | |
- name: compile system scripts | |
run: yarn test:system | |
- name: compile tests | |
run: yarn test:compile | |
- name: core tests | |
run: yarn test:core | |
- name: unit tests | |
run: yarn test:samples | |
- name: slides | |
run: yarn build:slides | |
- name: docs | |
run: yarn build:docs |