This commit is contained in:
Morten Olsen
2022-05-19 15:57:20 +02:00
parent 6181eeb0c8
commit 2b0ad8592b
156 changed files with 26987 additions and 14366 deletions

View File

@@ -17,14 +17,17 @@ jobs:
- name: Install and Build 🔧
run: |
corepack enable
yarn install
yarn expo build:web
yarn build:web
yarn build:storybook
cp -r packages/ui/public packages/app/web-build/design-system
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: web-build
folder: packages/app/web-build
publish-native:
name: Publish native versions
runs-on: ubuntu-latest
@@ -44,18 +47,24 @@ jobs:
git config --global user.email "github-action@example.com"
git config --global user.name "Github Bot"
yarn version --new-version=$BUILD_VERSION
working-directory: packages/app
env:
BUILD_VERSION: 1.${{ github.run_id }}.${{ github.run_number }}
- run: yarn install
- run: |
corepack enable
yarn install
- run: echo $BUILD_VERSION
# - run: eas build -p android --non-interactive
- run: eas build -p ios --non-interactive
working-directory: packages/app
env:
EXPO_APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.EXPO_APPLE_APP_SPECIFIC_PASSWORD }}
- run: eas submit --platform ios --non-interactive --latest
working-directory: packages/app
env:
EXPO_APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.EXPO_APPLE_APP_SPECIFIC_PASSWORD }}

View File

@@ -9,15 +9,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12.x
- uses: expo/expo-github-action@v5
with:
expo-packager: yarn
expo-username: ${{ secrets.EXPO_CLI_USERNAME }}
expo-password: ${{ secrets.EXPO_CLI_PASSWORD }}
expo-cache: true
- name: Cache Node Modules
uses: actions/cache@v2
env:
@@ -30,9 +33,14 @@ jobs:
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install Packages
run: npm i -g yarn && yarn install
run: |
corepack enable
yarn install
- name: Expo Publish Channel
run: expo publish --non-interactive --release-channel pr${{ github.event.number }}
working-directory: packages/app
- name: Add Comment To PR
uses: mshick/add-pr-comment@v1
env: