Merge pull request #3 from ButterscotchV/github-actions

Add GitHub Actions workflow and update npm packages
This commit is contained in:
lucas lelievre authored and GitHub committed 2022-06-21 22:44:02 +02:00
commit b1ef647819
3 files changed
+409 -575

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
name: Build GUI
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
node-version: [16.x]
env:
# Don't mark warnings as errors
CI: false
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm ci
npm run tauri build
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
# Artifact name
name: SlimeVR-GUI
# A file, directory or wildcard pattern that describes what to upload
path: target/release/slimevr-ui.exe
+370 -572
View File
File diff suppressed because it is too large. Load diff
+3 -3
View File
@@ -6,7 +6,7 @@
"@babel/core": "^7.16.0",
"@fontsource/work-sans": "^4.5.7",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
"@svgr/webpack": "^5.5.0",
"@svgr/webpack": "^6.2.1",
"@tauri-apps/api": "^1.0.0-rc.3",
"@testing-library/jest-dom": "^5.16.3",
"@testing-library/react": "^12.1.4",
@@ -54,14 +54,14 @@
"react-dev-utils": "^12.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.29.0",
"react-modal": "^3.14.4",
"react-modal": "^3.15.1",
"react-refresh": "^0.11.0",
"react-router-dom": "^6.2.2",
"resolve": "^1.20.0",
"resolve-url-loader": "^4.0.0",
"sass-loader": "^12.3.0",
"semver": "^7.3.5",
"solarxr-protocol": "SlimeVR/SolarXR-Protocol",
"solarxr-protocol": "github:SlimeVR/SolarXR-Protocol",
"source-map-loader": "^3.0.0",
"style-loader": "^3.3.1",
"tailwindcss": "^3.0.2",