This commit is contained in:
rustdesk
2024-09-18 13:47:01 +08:00
parent 616f1d65b8
commit e7f46cdba8
136 changed files with 20985 additions and 0 deletions

41
v3/.github/workflows/actions.yaml vendored Normal file
View File

@@ -0,0 +1,41 @@
name: GitHub Actions
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 18
- 20
- 22
steps:
- uses: actions/checkout@v4
- name: Use Node.js v${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm run build
# - run: npm test
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run check