-
Notifications
You must be signed in to change notification settings - Fork 118
68 lines (51 loc) · 2.18 KB
/
ci.yml
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
58
59
60
61
62
63
64
65
66
67
68
on:
push:
branches:
- main
pull_request:
name: CI
env:
DISABLE_V8_COMPILE_CACHE: 1
jobs:
CI:
name: CI_Node_${{ matrix.version }}
runs-on: ubuntu-latest
strategy:
matrix:
# When removing v18, unpin graphql-config version
version: [18, 20, 22]
steps:
- uses: actions/checkout@master
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v3
with:
cache: 'pnpm'
node-version: ${{ matrix.version }}
- name: Install
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Run package tests
run: pnpm test:ci
- name: Run linting
run: pnpm lint
- name: Run Drizzle adapter tests
run: pnpm test:ci_sessions --filter=./packages/apps/session-storage/shopify-app-session-storage-drizzle
- name: Run DynamoDB adapter tests
run: pnpm test:ci_sessions --filter=./packages/apps/session-storage/shopify-app-session-storage-dynamodb
- name: Run KV adapter tests
run: pnpm test:ci_sessions --filter=./packages/apps/session-storage/shopify-app-session-storage-kv
- name: Run Memory adapter tests
run: pnpm test:ci_sessions --filter=./packages/apps/session-storage/shopify-app-session-storage-memory
- name: Run MongoDB adapter tests
run: pnpm test:ci_sessions --filter=./packages/apps/session-storage/shopify-app-session-storage-mongodb
- name: Run MySQL adapter tests
run: pnpm test:ci_sessions --filter=./packages/apps/session-storage/shopify-app-session-storage-mysql
- name: Run PostgreSQL adapter tests
run: pnpm test:ci_sessions --filter=./packages/apps/session-storage/shopify-app-session-storage-postgresql
- name: Run Prisma adapter tests
run: pnpm test:ci_sessions --filter=./packages/apps/session-storage/shopify-app-session-storage-prisma
- name: Run Redis adapter tests
run: pnpm test:ci_sessions --filter=./packages/apps/session-storage/shopify-app-session-storage-redis
- name: Run SQLite adapter tests
run: pnpm test:ci_sessions --filter=./packages/apps/session-storage/shopify-app-session-storage-sqlite