mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2025-12-31 13:48:24 +03:00
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.0.0 to 4.2.0. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4.0.0...v4.2.0) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
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/setup-node@v4.0.1
|
|
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/setup-node@v4.0.1
|
|
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/upload-artifact@v4.2.0
|
|
with:
|
|
name: godot-tools
|
|
path: godot-tools.vsix
|