api 설계 작업 완료 #7
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: CI | |
on: | |
push: | |
branches: | |
# Change this if your primary branch is not main | |
- main | |
pull_request: | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: "read" | |
actions: "read" | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Derive appropriate SHAs for base and head for `nx affected` commands | |
uses: nrwl/nx-set-shas@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
- name: Dependencies Installation | |
run: yarn install --immutable | |
- name: Test | |
run: yarn affected:test --parallel=5 | |
- name: Build | |
run: yarn affected:build --parallel=5 |