docs: update readme (#25) #57
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: build | |
on: | |
push: | |
branches: [ 'main' ] | |
pull_request: | |
branches: [ 'main' ] | |
jobs: | |
build_web: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Capacitor iOS | |
uses: ./.github/actions/capacitor-setup-web | |
- name: Run Build | |
run: npm run verify:web | |
build_ios: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Capacitor iOS | |
uses: ./.github/actions/capacitor-setup-ios | |
- name: Run Build | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.4.app | |
run: | | |
cd ios | |
xcodebuild \ | |
-quiet \ | |
-workspace Plugin.xcworkspace \ | |
-scheme Plugin \ | |
-destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4' | |
build_android: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Capacitor Android | |
uses: ./.github/actions/capacitor-setup-android | |
- name: Run Build | |
run: npm run verify:android |