Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 46 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,65 @@ jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Install commitlint
run: npm install -D @commitlint/cli @commitlint/config-conventional
- name: Validate pull request title
if: github.event_name == 'pull_request'
run: echo "${{ github.event.pull_request.title }}" | npx commitlint --verbose
verify:

build:
runs-on: macos-26
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-node@v6
with:
node-version: 22
cache: 'npm'
- run: npm ci
- run: npm run build

lint:
runs-on: macos-26
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-node@v6
with:
node-version: 22
cache: 'npm'
- run: npm ci
- run: npm run lint

verify-plugin-android:
needs: ['lint', 'build']
runs-on: macos-26
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-node@v6
with:
node-version: 22
cache: 'npm'
- run: npm ci
- run: npm run verify:android

verify-plugin-ios:
needs: ['lint', 'build']
runs-on: macos-26
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-node@v6
with:
node-version: 22
cache: 'npm'
- run: npm ci
- run: |
npm run lint
npm run verify
- run: npm run verify:ios