chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 #172
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
# 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' |