Skip to content

feat(api): restruct verifyPurchase with platform-specific opts #125

feat(api): restruct verifyPurchase with platform-specific opts

feat(api): restruct verifyPurchase with platform-specific opts #125

Workflow file for this run

name: CI - Example Expo
on:
push:
branches:
- main
paths:
- '.github/workflows/ci-example-expo.yml'
- 'example-expo/**'
pull_request:
branches:
- main
paths:
- '.github/workflows/ci-example-expo.yml'
- 'example-expo/**'
merge_group:
types:
- checks_requested
jobs:
example-expo:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: '1.2.22'
- name: Print Yarn version (vendored)
run: node .yarn/releases/yarn-3.6.1.cjs -v
- name: Install root dependencies
run: node .yarn/releases/yarn-3.6.1.cjs install --immutable
- name: Setup example-expo
run: node .yarn/releases/yarn-3.6.1.cjs setup:expo
- name: Cache dependencies
uses: actions/cache@v4
with:
path: |
example-expo/node_modules
~/.bun/install/cache
key: ${{ runner.os }}-expo-bun-${{ hashFiles('example-expo/package.json', 'example-expo/bun.lock') }}
restore-keys: |
${{ runner.os }}-expo-bun-
- name: Install example-expo dependencies
working-directory: example-expo
run: bun install
# Lint check disabled - example-expo copies files from example during postinstall
# and ESLint errors should be fixed in the source (example) project instead
# - name: Lint files
# working-directory: example-expo
# run: bun run lint
- name: Typecheck files
working-directory: example-expo
run: bun run typecheck