test: github workflows #4
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: Universal gluestack-ui App (Expo and NextJs) | Start and Build | |
on: | |
push: | |
branches: | |
- patch | |
pull_request: | |
branches: | |
- patch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
working-directory: universal | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.x | |
- name: Install dependencies | |
run: yarn | |
- name: Start Expo | |
run: yarn run:expo | |
- name: Start Next | |
run: yarn run:next | |
- name: Build Next | |
run: yarn build |