feat: adjust properties to facilitate combination and splitting betwe… #160
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: Node.js CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
environment: expo | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: npm install | |
- run: npm run test | |
- name: publish example | |
run: cd ./example && npm install | |
- name: Expo Init | |
uses: expo/expo-github-action@7.2.0 | |
with: | |
expo-version: 5.4.3 | |
token: ${{ secrets.TOKEN }} | |
packager: npm | |
- name: Expo Publish app | |
run: cd ./example && expo publish | |