-
Notifications
You must be signed in to change notification settings - Fork 1
57 lines (46 loc) · 1.29 KB
/
Copy pathci.yml
File metadata and controls
57 lines (46 loc) · 1.29 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:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
release-checks:
name: Browser release checks
runs-on: ubuntu-latest
timeout-minutes: 20
env:
SERFBOUND_RUN_LOCAL_ASSET_TESTS: ''
SERFBOUND_LOCAL_DATA: ''
SERFBOUND_SPAU_PA: ''
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up Node from .nvmrc
uses: actions/setup-node@v6
with:
node-version-file: .nvmrc
cache: npm
cache-dependency-path: package-lock.json
- name: Use pinned npm
run: npm install --global npm@11.6.2
- name: Install npm dependencies
run: npm ci
- name: Install Chromium for Playwright
run: npx playwright install --with-deps chromium
- name: Run release CI (data-free)
run: npm run ci:release
- name: Summarize
if: always()
run: |
{
echo "## Serfbound CI"
echo ""
echo "- Workflow run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
echo "- Gates: unit, browser e2e, boundaries, static hosting, docs"
} >> "$GITHUB_STEP_SUMMARY"