-
Notifications
You must be signed in to change notification settings - Fork 1
56 lines (44 loc) · 1.24 KB
/
ci.yaml
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
name: Continuous Integration
on:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 2
show-progress: false
- name: Runner setup
uses: ./.github/actions/runner-setup
- name: Build & Test
run: pnpm turbo build test
e2e:
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 2
show-progress: false
- name: Runner setup
uses: ./.github/actions/runner-setup
- name: Setup Kadena sandbox
uses: ./.github/actions/sandbox
- name: Install browser
run: pnpm --filter spirekey run install:chromium
- name: End-to-end test
run: pnpm test:e2e
- name: Publish Report
uses: ./.github/actions/publish-report
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPORT_DIR: 'spirekey/playwright-report/'