-
-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (41 loc) · 1003 Bytes
/
integration-test.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
name: integration-test
on:
push:
branches:
- 'main'
pull_request:
branches:
- '**'
workflow_dispatch:
jobs:
integration-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
config-pattern:
[
'default',
'saveUninitialized',
'rolling',
'saveUninitialized_and_rolling',
'both_maxAge_and_expires',
'expires'
]
name: config-pattern_${{ matrix.config-pattern }}_test
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- name: Install
run: yarn install --frozen-lockfile
- name: Set up integration test
run: |
yarn playwright install
yarn playwright install-deps
- name: Integration test
run: yarn test:integration
env:
CONFIG_PATTERN: ${{ matrix.config-pattern }}