Skip to content

Commit

Permalink
ci: initial configuration for client
Browse files Browse the repository at this point in the history
  • Loading branch information
samcowger committed Nov 1, 2024
1 parent 7b14f51 commit 1d31b72
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/client-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CN Client CI

on:
push:
branches:
- main
pull_request:
branches:
- main

# Cancel in-progress job when a new push is performed
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
strategy:
matrix:
node-version: [21.7.3]
os: [ubuntu-22.04]

runs-on: ${{ matrix.os }}

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install client dependencies
working-directory: ./cn-lsp/client
run: npm install

- name: Build client
working-directory: ./cn-lsp/client
run: npm run compile

0 comments on commit 1d31b72

Please sign in to comment.