Skip to content

Commit

Permalink
build(ci): improve CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jonz94 committed Oct 5, 2023
1 parent b6e9b01 commit af4606f
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
# allow manually trigger
workflow_dispatch:

Expand All @@ -18,7 +22,9 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
show-progress: false
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
Expand All @@ -30,24 +36,17 @@ jobs:
java-version: ${{ env.JAVA_VERSION }}
- name: Install dependencies
run: npm ci
- name: Build iOS
run: npm run verify:ios
- name: Build Android
run: npm run verify:android
- name: Build Web
run: npm run verify:web
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: dist
path: dist
- name: Build all packages
run: npm run verify

lint:
name: Lint
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
show-progress: false
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit af4606f

Please sign in to comment.