Skip to content

chore(deps-dev): bump @types/vscode from 1.52.0 to 1.81.0 #174

chore(deps-dev): bump @types/vscode from 1.52.0 to 1.81.0

chore(deps-dev): bump @types/vscode from 1.52.0 to 1.81.0 #174

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: ApiDOM LSP VSCode
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16.13.2
registry-url: https://npm.pkg.github.com/
cache: 'npm'
cache-dependency-path: |
package-lock.json
client/package-lock.json
server/package-lock.json
- name: Install dependencies
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: npm run build
- name: Execute tests Linux
run: xvfb-run -a npm run test
if: runner.os == 'Linux'
- name: Execute tests
run: npm run test
if: runner.os != 'Linux'