Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
iamjooon2 committed Jun 3, 2024
1 parent a4e3a7e commit 73d9091
Show file tree
Hide file tree
Showing 8 changed files with 143 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ jobs:

# eas를 통해 새로 빌드 후 반영
- name: publish update
run: eas update --profile local --non-interactive
run: eas update --auto

# - name: reflect testflight
# run: eas submit -p ios --latest --profile local --non-interactive
- name: reflect testflight
run: eas submit --auto

# 디스코드 웹훅 알림 전송
- name: Discord Webhook Action
Expand Down
76 changes: 76 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: build expo via eas

on:
push:
branches: [ test ]

pull_request:
branches: [ release ]


jobs:
update:
name: build expo file via eas
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3

# 필요 json 파일들 세팅
- name: create firebase.json
uses: jsdaniell/create-json@1.1.2
with:
name: "bookbla-2024-firebase-adminsdk-qfspu-1dcca92597.json"
json: ${{ secrets.FIREBASE_JSON }}

- name: create app.json
uses: jsdaniell/create-json@1.1.2
with:
name: "app.json"
json: ${{ secrets.APP_JSON }}

- name: create google-services.json
uses: jsdaniell/create-json@1.1.2
with:
name: "google-services.json"
json: ${{ secrets.GOOGLE_SERVICES_JSON }}

- name: create eas.json
uses: jsdaniell/create-json@1.1.2
with:
name: "eas.json"
json: ${{ secrets.EAS_JSON }}

# 노드, 패키지 매니저, 캐시 설정
- name: setup node with cache
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: npm
cache-dependency-path: ./package-lock.json

# eas 설정
- name: setup eas
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}

# npm 의존성 설치
- name: install dependencies
run: npm install

# eas를 통해 새로 빌드 후 반영
- name: publish update
run: eas update --auto

# test
- name: reflect testflight
run: eas submit --auto

# 디스코드 웹훅 알림 전송
- name: Discord Webhook Action
uses: tsickert/discord-webhook@v5.3.0
with:
webhook-url: ${{ secrets.WEBHOOK_URL }}
content: "따끈따끈한 새 빌드가 완료됐다네~"
6 changes: 6 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/barista.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions .idea/checkstyle-idea.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 73d9091

Please sign in to comment.