added github actions workflow

This commit is contained in:
Vomitblood 2024-08-06 21:48:31 +08:00
parent 7567e53a85
commit 3e23d5c03d

25
.github/workflows/build-validation.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: Test Build Frontend
on:
push:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-latest
container:
image: node:20.6.1-alpine
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: npm install
run: |
npm install
- name: npm run tauri build
run: |
npm run tauri build
echo "winning ranks"