Version 0.0.4 release #17
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: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18.x' | |
- name: Install dependencies | |
run: | | |
npm install | |
pip install autoflake isort black ruff | |
- name: Build VSCode Extension | |
run: npm run compile | |
- name: Run Format Script for Python & TypeScript Files | |
run: ./scripts/format.sh | |
- name: Run Lint Script for Python & TypeScript Files | |
run: ./scripts/lint.sh | |
- name: Run headless test | |
uses: coactions/setup-xvfb@v1 | |
with: | |
run: npm test |