Add CI workflow and update npm packages

Create build-gui.yml

Update build-gui.yml

Force install in GitHub Actions

Update SolarXR-Protocol

Update packages to not need to force

Fix CI env declaration
This commit is contained in:
Butterscotch!
2022-06-20 15:17:50 -04:00
parent 738bf20dc6
commit 1169f68eb2
3 changed files with 409 additions and 575 deletions

36
.github/workflows/build-gui.yml vendored Normal file
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 install
npm run tauri build
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.0
with:
# Artifact name
name: SlimeVR-GUI
# A file, directory or wildcard pattern that describes what to upload
path: target/release/slimevr-ui.exe

942
package-lock.json generated

File diff suppressed because it is too large Load Diff

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",