feat: ✨ 에러 세부적으로 관리하고 로그 남기기 #560
Workflow file for this run
This file contains hidden or 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: | |
| pull_request: | |
| env: | |
| DEFAULT_NODE_VERSION: '20.14.0' | |
| 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: ${{ env.DEFAULT_NODE_VERSION }} | |
| - name: Debug Secret | |
| run: echo '${{ secrets.DEV_ONE_APP_CONFIG }}' | |
| - name: Create .env file for one-app | |
| run: | | |
| echo '${{ secrets.DEV_ONE_APP_CONFIG }}' | jq -r 'to_entries | .[] | "\(.key)=\(.value)"' > services/one-app/.env | |
| - name: Install dependencies | |
| uses: ./.github/actions/yarn-install | |
| - name: TypeScript Compilation Check | |
| run: yarn tsc --noEmit --project tsconfig.json | |
| working-directory: ./services/one-app | |
| - name: Test | |
| run: yarn test:one-app | |
| - name: Build | |
| run: yarn build:one-app |