v1.0.0 #21
Workflow file for this run
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: Storybook Building 🚀 | |
on: | |
release: | |
types: [published] | |
jobs: | |
release-android: | |
name: Build App | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup kernel for react native, increase watchers | |
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | |
- name: Set up Java | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 17 | |
distribution: "temurin" | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18.x" | |
- name: Set NPM Variables | |
run: echo "$PACKAGES_NPMRC" > .npmrc | |
env: | |
PACKAGES_NPMRC: ${{ secrets.PACKAGES_NPMRC }} | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.0.0" | |
bundler-cache: true | |
- name: Install Ubuntu dependencies | |
run: | | |
sudo apt update | |
sudo apt install libcurl4-openssl-dev | |
- name: Install Fastlane | |
run: | | |
bundle install | |
gem install fastlane | |
- name: Install packages | |
run: yarn cache clean --all && yarn install | |
- name: Build and Upload to Appetize | |
run: fastlane android storybook |