Merge pull request #6 from robsoden/react-native-quick-sqlite-upgrade #32
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 | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
build: | |
name: Build and Test | |
timeout-minutes: 15 | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 2 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Check Package Sync | |
run: if [[ -z $(yarn syncpack list-mismatches) ]]; then echo exit 0; else echo exit 1; fi | |
- name: Build | |
run: yarn run build | |
- name: Test TypeScript | |
run: yarn run test-typescript | |
- name: Lint | |
run: yarn run lint |