-
Notifications
You must be signed in to change notification settings - Fork 15
51 lines (48 loc) · 1.33 KB
/
jetls-client.yml
File metadata and controls
51 lines (48 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: jetls-client
on:
push:
branches:
- master
paths:
- "jetls-client/**"
- "src/**"
- "scripts/schema/**"
- ".github/workflows/jetls-client.yml"
pull_request:
branches-ignore:
- release
paths:
- "jetls-client/**"
- "src/**"
- "scripts/schema/**"
- ".github/workflows/jetls-client.yml"
jobs:
check:
name: Check jetls-client
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install dependencies
working-directory: jetls-client
run: npm install
- name: Run checks
working-directory: jetls-client
run: npm run check
check_package_json:
name: Check package.json is up to date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: "1.12"
arch: x64
- uses: julia-actions/cache@v2
- name: Instantiate schema project
run: julia --startup-file=no --project=scripts/schema -e 'using Pkg; Pkg.instantiate()'
- name: Check package.json is up to date
run: |
julia --startup-file=no --project=scripts/schema scripts/schema/update-pkg-json.jl jetls-client/package.json --check