Re-org repo to prepare as a package #3
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 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'yarn' | |
- run: yarn install --frozen-lockfile | |
- run: yarn sample lint | |
lint-native-module: | |
name: Lint Native Module | |
runs-on: shopify-ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'yarn' | |
- run: yarn install --frozen-lockfile | |
- run: yarn module lint | |
lint-swift: | |
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 |