|
12 | 12 | name: Prettier |
13 | 13 | uses: ./.github/workflows/base-prettier.yml |
14 | 14 |
|
15 | | - eslint: |
16 | | - name: Eslint |
17 | | - uses: ./.github/workflows/base-lint.yml |
18 | | - |
19 | 15 | changeset: |
20 | 16 | name: Require changeset |
21 | 17 | uses: ./.github/workflows/base-changeset.yml |
|
26 | 22 | needs: [ prettier, changeset ] |
27 | 23 | uses: ./.github/workflows/base-build.yml |
28 | 24 |
|
| 25 | + eslint: |
| 26 | + name: ESLint |
| 27 | + needs: build |
| 28 | + runs-on: ${{ vars.RUNNER_LARGE }} |
| 29 | + steps: |
| 30 | + - uses: actions/checkout@v3 |
| 31 | + - name: Setup |
| 32 | + uses: ./.github/actions/setup |
| 33 | + with: |
| 34 | + use-turbo-cache: 'true' |
| 35 | + - name: Run lint |
| 36 | + run: npm run lint |
| 37 | + |
29 | 38 | unit-tests: |
30 | 39 | name: Run unit tests |
31 | 40 | needs: build |
|
37 | 46 | - uses: actions/checkout@v3 |
38 | 47 | - name: Setup |
39 | 48 | uses: ./.github/actions/setup |
40 | | - - name: Download turbo cache |
41 | | - uses: actions/download-artifact@v3 |
42 | 49 | with: |
43 | | - name: package-artifacts |
44 | | - path: ./node_modules/.cache/turbo |
| 50 | + use-turbo-cache: 'true' |
45 | 51 | - name: Run tests |
46 | 52 | run: npm run test:ci |
47 | 53 |
|
|
53 | 59 | - uses: actions/checkout@v3 |
54 | 60 | - name: Setup |
55 | 61 | uses: ./.github/actions/setup |
56 | | - - name: Download turbo cache |
57 | | - uses: actions/download-artifact@v3 |
58 | 62 | with: |
59 | | - name: package-artifacts |
60 | | - path: ./node_modules/.cache/turbo |
| 63 | + use-turbo-cache: 'true' |
61 | 64 | - name: Lint packages using publint |
62 | 65 | run: npm run lint:publint |
63 | 66 |
|
|
69 | 72 | - uses: actions/checkout@v3 |
70 | 73 | - name: Setup |
71 | 74 | uses: ./.github/actions/setup |
72 | | - - name: Download turbo cache |
73 | | - uses: actions/download-artifact@v3 |
74 | 75 | with: |
75 | | - name: package-artifacts |
76 | | - path: ./node_modules/.cache/turbo |
| 76 | + use-turbo-cache: 'true' |
77 | 77 | - name: Lint types using attw |
78 | 78 | # Remove this when all related errors are fixed |
79 | 79 | continue-on-error: true |
|
0 commit comments