-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (52 loc) · 1.47 KB
/
Copy pathci.yml
File metadata and controls
57 lines (52 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: CI
on:
push:
pull_request:
permissions:
contents: read
jobs:
node-and-skill:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
cache: npm
- run: npm run check
- run: npm test
- run: npm run validate-launcher
- run: npm run validate-powershell
- run: npm run validate-skill
- name: Rebuild windowless launcher
shell: pwsh
run: |
.\windows\Build-Launcher.ps1 `
-OutputPath "$env:RUNNER_TEMP\CompanionRelayLauncher.exe" `
-ManifestPath "$env:RUNNER_TEMP\CompanionRelayLauncher.manifest.json"
.\windows\Verify-Launcher.ps1 `
-ExecutablePath "$env:RUNNER_TEMP\CompanionRelayLauncher.exe" `
-ManifestPath "$env:RUNNER_TEMP\CompanionRelayLauncher.manifest.json"
android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '17'
cache: gradle
- name: Lint and build
working-directory: android
run: |
chmod +x gradlew
./gradlew lintRelease assembleDebug
secret-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}