This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
Fix warning about needing to instantiate on main #693
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-actions | |
on: [push] | |
jobs: | |
lint: | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
cache: 'yarn' | |
- uses: actions/cache@v3 | |
with: | |
path: | |
ios/Pods | |
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-pods- | |
- uses: actions/cache@v3 | |
with: | |
path: | |
example/ios/Pods | |
key: ${{ runner.os }}-example-pods-${{ hashFiles('**/Podfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-example-pods- | |
- run: yarn build:all | |
- run: yarn lint | |
- run: yarn prettier:check | |
- run: yarn documentation | |
- name: Ensure documentation is up to date | |
run: ./scripts/ensureDocsAreUpdated.sh | |
test: | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
cache: 'yarn' | |
- uses: actions/cache@v3 | |
with: | |
path: | |
ios/Pods | |
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-pods- | |
- uses: actions/cache@v3 | |
with: | |
path: | |
example/ios/Pods | |
key: ${{ runner.os }}-example-pods-${{ hashFiles('**/Podfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-example-pods- | |
- run: yarn install | |
- run: yarn build | |
- run: yarn test |