chore: 절대경로 import 하는 문제 해결, eslint 관련 경고 뜨는 현상 해결 #634
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 |