chore: 타입스크립트 버전을 5.4.5 버전으로 올린다 #3598
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: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| name: Checkout [Pull Request] | |
| if: ${{ github.event_name == 'pull_request' }} | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| fetch-depth: 0 | |
| - uses: actions/checkout@v2 | |
| name: Checkout [Default Branch] | |
| if: ${{ github.event_name != 'pull_request' }} | |
| with: | |
| fetch-depth: 0 | |
| - name: Derive appropriate SHAs for base and head for `nx affected` commands | |
| uses: nrwl/nx-set-shas@v2 | |
| id: setSHAs | |
| with: | |
| main-branch-name: main | |
| - name: Get yarn cache directory path | |
| id: yarn-cache-dir-path | |
| run: echo "::set-output name=dir::$(yarn config get cacheFolder)" | |
| - uses: actions/cache@v3 | |
| id: yarn-cache | |
| with: | |
| path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
| key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-yarn- | |
| - name: Install Packages | |
| run: yarn install --immutable | |
| - name: Lint Affected Project | |
| run: yarn nx affected --target=lint | |
| - name: Test Affected Project | |
| uses: GabrielBB/xvfb-action@v1 | |
| with: | |
| run: | | |
| yarn nx repair | |
| yarn nx collect-coverage testing --ci --coverage-reporter=lcov --output-path=coverage/lcov.info | |
| - name: Typecheck Affected Project | |
| run: yarn nx affected --target=typecheck --parallel=1 | |
| # - name: Upload coverage to Coveralls | |
| # uses: coverallsapp/github-action@v2 | |
| # with: | |
| # github-token: ${{ secrets.GITHUB_TOKEN }} | |
| # git-commit: ${{ steps.setSHAs.outputs.head }} | |
| # expo: | |
| # runs-on: ubuntu-latest | |
| # if: github.ref == 'refs/heads/main' | |
| # steps: | |
| # - uses: actions/checkout@v1 | |
| # - run: yarn | |
| # - name: Update Vibrant Example App | |
| # run: yarn nx update vibrant-example-app --branch preview | |
| # env: | |
| # EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }} |