Overhaul LSP Client #1013
Workflow file for this run
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: Continuous integration | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Test | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: 16.x | |
- name: Install dependencies | |
run: npm install | |
- name: Run headless test | |
uses: coactions/setup-xvfb@v1 | |
with: | |
run: | | |
npm run compile | |
npm test | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: 16.x | |
- name: Install dependencies | |
run: npm install | |
- name: Lint and build extension | |
run: | | |
npm run lint | |
npm run package -- --out godot-tools.vsix | |
ls -l godot-tools.vsix | |
- name: Upload extension VSIX | |
uses: actions/[email protected] | |
with: | |
name: godot-tools | |
path: godot-tools.vsix |