resolve type import issue with specific tsconfig settings #632
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: Lint and test | |
on: | |
pull_request: | |
branches: [main] | |
workflow_call: | |
jobs: | |
lint: | |
name: Lint & Type Checking | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout next branch | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
uses: ./.github/composite-actions/install-dependencies | |
- name: Lint & Type Checking | |
run: | | |
npm run lint | |
test-jest: | |
name: Test jest | |
needs: [lint] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout next branch | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
uses: ./.github/composite-actions/install-dependencies | |
- name: run unit test | |
run: | | |
npm run test | |
test-playwright: | |
name: Test playwright | |
needs: [lint] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout next branch | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
uses: ./.github/composite-actions/install-dependencies | |
- name: Install playwright dependencies | |
run: | | |
npx playwright install --with-deps | |
- name: Build storybook | |
run: | | |
npm run storybook:build -w "@toast-ui/calendar" | |
- name: Run E2E test | |
run: | | |
npm run test:playwright |