Skip to content

ci: add build and cross-app checks #1

ci: add build and cross-app checks

ci: add build and cross-app checks #1

Workflow file for this run

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: 20
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 }}