Skip to content

Migrate unit tests to jest (#162) #127

Migrate unit tests to jest (#162)

Migrate unit tests to jest (#162) #127

name: compile-lint-test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# To avoid compatibility problems, pin the CI node.js version to node version used by VSCode Electron
# so integration testing will not rely on a later version of node than exists in the default VS Code execution env.
# Full table with details here: https://github.com/ewanharris/vscode-versions
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test