Files
godot-vscode-plugin/.github/workflows/ci.yml
Hugo Locurcio dc1a7e06e8 Set up continuous integration using GitHub Actions (#197)
The extension will be built and uploaded to artifacts so it can be
tested easily by users.

This also fixes warnings reported by TSLint.
2020-09-08 16:08:44 +02:00

27 lines
591 B
YAML

name: Continuous integration
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Lint and build extension
run: |
npm install
npm run lint
node_modules/.bin/vsce package --out godot-tools.vsix
- name: Upload extension VSIX
uses: actions/upload-artifact@v2
with:
name: godot-tools
path: godot-tools.vsix