Skip to content

Update dependencies, linting, server upgrade & workflows #957

Update dependencies, linting, server upgrade & workflows

Update dependencies, linting, server upgrade & workflows #957

name: Code sample checker
on: pull_request
jobs:
test-code-samples:
name: Check code samples
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
steps:
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 17
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies and compile client
run: |
npm install
npm run compile
- name: Check code samples
run: |
npm run check-code-samples