1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 09:48:20 +08:00

Add: Vite Electron Builder template

From https://github.com/cawa-93/vite-electron-builder
This commit is contained in:
LmeSzinc
2021-10-08 17:59:53 +08:00
parent f66803b1ad
commit a4e4dda9f0
56 changed files with 18835 additions and 0 deletions

41
webapp/.github/workflows/tests.yml vendored Normal file
View File

@@ -0,0 +1,41 @@
name: Tests
on:
push:
branches:
- main
paths:
- 'packages/**'
- 'tests/**'
- 'package-lock.json'
- '.github/workflows/tests.yml'
pull_request:
paths:
- 'packages/**'
- 'tests/**'
- 'package-lock.json'
- '.github/workflows/tests.yml'
defaults:
run:
shell: 'bash'
jobs:
e2e:
strategy:
matrix:
os: [ windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16 # Need for npm >=7.7
cache: 'npm'
# TODO: Install not all dependencies, but only those required for this workflow
- name: Install dependencies
run: npm ci
- run: npm test