Release v5 #38
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 | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
env: | |
NODE_VERSION: 18 | |
JDK_VERSION: 17 | |
jobs: | |
build: | |
name: Build | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Node.js ${{ env.NODE_VERSION }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Setup Java JDK ${{ env.JDK_VERSION }} | |
uses: actions/setup-java@v3.4.1 | |
with: | |
# The Java version to set up. Takes a whole or semver Java version. See examples of supported syntax in README file | |
java-version: ${{ env.JDK_VERSION }} | |
# Java distribution. See the list of supported distributions in README file | |
distribution: 'temurin' | |
- 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@v2 | |
with: | |
name: dist | |
path: dist |