diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index acf4bca..2470a1e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,8 +33,6 @@ jobs: cache: "npm" - name: "Install dependencies" run: "npm ci" - - name: "Build types" - run: "npm run types" - name: "Build lib" run: "npm run build" - name: "Build docs" diff --git a/package.json b/package.json index d334484..e337354 100644 --- a/package.json +++ b/package.json @@ -60,13 +60,13 @@ "dist/" ], "scripts": { - "all": "run-s types build docs lint test", - "types": "run-s types:clean types:compile", - "types:clean": "rimraf ./types/", - "types:compile": "tsc -p ./src/", - "build": "run-s build:clean build:compile", + "all": "run-s build docs lint test", + "build": "run-s build:clean build:types build:compile", "build:clean": "rimraf ./dist/", "build:compile": "rollup -c", + "build:types": "run-s build:types:clean build:types:compile", + "build:types:clean": "rimraf ./types/", + "build:types:compile": "tsc -p ./src/", "docs": "run-s docs:clean docs:compile", "docs:clean": "rimraf ./docs/", "docs:compile": "typedoc ./src/index.js --readme none --out ./docs/",