Skip to content

Commit

Permalink
hotfix : firebase
Browse files Browse the repository at this point in the history
  • Loading branch information
dntjd1097 committed May 17, 2024
1 parent c40da2e commit 5677f30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 30 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/gdsc-dju-deploy-live.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,11 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 캐시 폴더를 가져오고 있어요.
id: yarn-cache-dir-path
run: echo "dir=$(cd client && yarn config get cacheFolder)" >> $GITHUB_ENV

- name: 캐시 의존성을 설정하고 있어요.
uses: actions/cache@v3
with:
path: ~/.yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Node 버전/캐싱여부를 설정하고 있어요.
- name: Node 버전 설정하고 있어요.
uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn
cache-dependency-path: ./yarn.lock
registry-url: 'https://registry.yarnpkg.com'
node-version: 20

- name: Setting .env
run: |
Expand Down
15 changes: 1 addition & 14 deletions .github/workflows/gdsc-dju-deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,12 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 캐시 폴더를 가져오고 있어요.
id: yarn-cache-dir-path
run: echo "dir=$(cd client && yarn config get cacheFolder)" >> $GITHUB_ENV

- name: 캐시 의존성을 설정하고 있어요.
uses: actions/cache@v3
with:
path: ~/.yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- name: Node 버전/캐싱여부를 설정하고 있어요.
uses: actions/setup-node@v3
with:
node-version: 20
cache: yarn
cache-dependency-path: ./yarn.lock
registry-url: 'https://registry.yarnpkg.com'

- name: Setting .env
run: |
echo "FIREBASE_API_KEY=${{ secrets.FIREBASE_API_KEY }}" >> .env
Expand Down

0 comments on commit 5677f30

Please sign in to comment.