Skip to content

Commit

Permalink
Check typings on CI + linting/formatting earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre de la Martiniere committed Oct 10, 2022
1 parent 8c24ed0 commit d3b0025
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@ jobs:
- name: Tests setup
run: node src/__tests__/setup.js

- name: 'Test: linting'
run: npm run test:lint

- name: 'Test: formatting'
run: npm run test:formatting
env:
CI: true

- name: 'Test: typings'
run: yarn run typings

- name: Install tests apps dependencies (npm-basic)
run: npm ci --prefix=src/__tests__/__apps__/npm-basic

Expand All @@ -58,11 +69,3 @@ jobs:

- name: 'Test: unit & integration tests'
run: npm test

- name: 'Test: linting'
run: npm run test:lint

- name: 'Test: formatting'
run: npm run test:formatting
env:
CI: true
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"compilerOptions": {
"allowJs": true,
"declaration": true,
"emitDeclarationOnly": true
"emitDeclarationOnly": true,
"target": "ES2015",
"moduleResolution": "node"
}
}

0 comments on commit d3b0025

Please sign in to comment.