Skip to content

Commit

Permalink
ci: job_generate_applicant_count 파이프라인 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
saseungmin committed Dec 3, 2024
1 parent 0cebdab commit 645c13a
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,39 @@ jobs:
${{ steps.yarn-cache-dir-path.outputs.dir }}
${{ env.CACHED_DEPENDENCY_PATHS }}
job_generate_applicant_count:
name: Generate Applicant Count
needs: [job_install_dependencies]
runs-on: ubuntu-latest
steps:
- name: Check out current commit (${{ github.sha }})
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: ${{ env.DEFAULT_NODE_VERSION }}

- name: Check dependency cache
id: cache-deps
uses: actions/cache@v4
with:
path: ${{ needs.job_install_dependencies.outputs.yarn_cache_dir_path }}
key: ${{ needs.job_install_dependencies.outputs.dependency_cache_key }}

- name: Install dependencies
if: steps.cache-deps.outputs.cache-hit != 'true'
run: yarn install --immutable
- name: Create environment variables
run: |
touch .env
echo GOOGLE_CLIENT_EMAIL = ${{ secrets.GOOGLE_CLIENT_EMAIL }} >> .env
echo GOOGLE_PRIVATE_KEY = ${{ secrets.GOOGLE_PRIVATE_KEY }} >> .env
- name: Generate applicant count
run: yarn generate:applicant-count

job_packages_build:
name: Build
needs: [job_install_dependencies]
needs: [job_install_dependencies, job_generate_applicant_count]
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
Expand Down

0 comments on commit 645c13a

Please sign in to comment.