Merge pull request #25 from Christopher-R-Perkins/feature/dag-visualizer #41
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
--- | |
name: VSCode Extension CI | |
on: [push, pull_request] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Lint | |
uses: ./.github/actions/lint | |
build-and-test: | |
needs: lint | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: npm | |
cache-dependency-path: package-lock.json | |
- name: Install Node dependencies | |
run: npm ci | |
- name: Compile TS tests | |
run: npm run pretest | |
- name: Run headless test | |
uses: coactions/setup-xvfb@v1 | |
with: | |
run: npm test |