Skip to content

Merge pull request #1757 from Shopify/dependabot/npm_and_yarn/cloudfl… #13534

Merge pull request #1757 from Shopify/dependabot/npm_and_yarn/cloudfl…

Merge pull request #1757 from Shopify/dependabot/npm_and_yarn/cloudfl… #13534

Workflow file for this run

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