Re-org repo to prepare as a package #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Pipeline | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
lint-sample: | |
name: Lint Sample App | |
runs-on: shopify-ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- run: yarn sample lint | |
lint-native-module: | |
name: Lint Native Module | |
runs-on: shopify-ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- run: yarn module lint | |
lint-swift: | |
name: Lint Swift code for Native Module | |
runs-on: shopify-ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run SwiftLint | |
uses: norio-nomura/action-swiftlint@3.2.1 | |
with: | |
args: --strict | |
- name: Check License Headers | |
run: ./scripts/copy_license && git diff --name-only --exit-code | |
build-native-module: | |
name: Build `react-native-shopify-checkout-kit` | |
runs-on: shopify-ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- run: yarn module build |