Skip to content

Commit aae1452

Browse files
committed
feat: restructure TypeScript test job in CI workflow
1 parent b60a628 commit aae1452

1 file changed

Lines changed: 16 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,6 @@ jobs:
205205
npm test
206206
fi
207207
208-
- name: Run type tests
209-
if: steps.list_env.outputs.typescript != ''
210-
run: npm run test-types
211-
212208
- name: Lint code
213209
if: steps.list_env.outputs.eslint != ''
214210
run: npm run lint
@@ -232,3 +228,19 @@ jobs:
232228
with:
233229
github-token: ${{ secrets.GITHUB_TOKEN }}
234230
parallel-finished: true
231+
232+
test_typescript:
233+
runs-on: 'ubuntu-latest'
234+
steps:
235+
- uses: actions/checkout@v6
236+
with:
237+
persist-credentials: false
238+
239+
- uses: actions/setup-node@v6
240+
241+
- name: Install
242+
run: |
243+
npm install --ignore-scripts
244+
245+
- name: Run typescript tests
246+
run: npm run test-types

0 commit comments

Comments
 (0)