Skip to content

feat: switch to vs code tests #102

feat: switch to vs code tests

feat: switch to vs code tests #102

Workflow file for this run

name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm compile
- run: pnpm typecheck
- run: pnpm lint
# see: https://github.com/microsoft/vscode-test/blob/main/sample/azure-pipelines.yml
- run: |
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
echo ">>> Started xvfb"
- run: pnpm test