This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
Build with yarn for release (#187) #530
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 install | |
- run: yarn build | |
- run: yarn lint | |
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 |