Skip to content

Merge pull request #267 from klarna/inapp-sdk/ios-v2.6.22 #149

Merge pull request #267 from klarna/inapp-sdk/ios-v2.6.22

Merge pull request #267 from klarna/inapp-sdk/ios-v2.6.22 #149

Workflow file for this run

name: Library
on:
push:
branches:
- '**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Lint Check
run: |
yarn lint
(cd TestApp;yarn lint)
- name: Format Check
run: |
yarn prettier
(cd TestApp;yarn prettier)
- name: Typecheck files
run: yarn typecheck
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Run unit tests
run: yarn test --maxWorkers=2 --coverage
build-library:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Build package
run: yarn prepack