Skip to content

Commit 9d120c1

Browse files
committed
chore: small improvements for CI
1 parent bf951a7 commit 9d120c1

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,14 @@ jobs:
5353
node-version: 14.x
5454
- name: Installation
5555
run: npm ci
56-
- name: Building
57-
run: npm run build
56+
- name: Linting
57+
run: npm run check
5858
- name: Testing
5959
run: npm run test:coverage
6060
env:
6161
CI: true
62-
- uses: sonarsource/sonarcloud-github-action@master
62+
- name: Analysis
63+
uses: sonarsource/sonarcloud-github-action@master
6364
env:
6465
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6566
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
"build:lib": "cross-env BUILD_TYPE=lib run-p build:lib:*",
2222
"build:lib:files": "babel -x .ts,.tsx,.js,.jsx src --out-dir dist/lib --ignore \"**/*.d.ts\" --copy-files",
2323
"build:lib:dts": "tsc -p tsconfig.prod.json --emitDeclarationOnly --outDir dist/lib",
24-
"full-prepare": "run-s clean check test:cover build",
24+
"full-prepare": "run-s clean check test:coverage build",
2525
"lint": "eslint \"+(.storybook|__stories__|__tests__|config|src)/**/*.{ts,js}\"",
2626
"precommit": "lint-staged",
2727
"start": "run-s storybook",
2828
"storybook:dev": "start-storybook -p 6006",
2929
"storybook:build": "build-storybook -c .storybook -o docs",
3030
"test": "cross-env NODE_ENV=test jest",
31-
"test:cover": "npm run test -- --coverage",
31+
"test:coverage": "npm run test -- --coverage",
3232
"typecheck": "tsc -p tsconfig.json --noEmit"
3333
},
3434
"repository": {

0 commit comments

Comments
 (0)