-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (42 loc) · 1.2 KB
/
Copy pathci.yml
File metadata and controls
52 lines (42 loc) · 1.2 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
name: Continuous Integration
on:
push:
pull_request:
permissions:
contents: read
concurrency:
group: buttonz-ci-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
node-ci:
name: Node CI
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out Buttonz
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Check types
run: npm run check
- name: Build
run: npm run build
cross-app-qa:
name: Cross-app QA
needs: node-ci
if: ${{ github.event_name == 'pull_request' || github.ref == 'refs/heads/main' }}
permissions:
contents: read
uses: devcodesfr/gameforge-qa/.github/workflows/integration-tests.yml@main
with:
gfs_repository: devcodesfr/gameforgestudio-platform
gfs_ref: main
buttonz_repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
buttonz_ref: ${{ github.event.pull_request.head.sha || github.sha }}