Skip to content

Commit

Permalink
build: remove type compilation from workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
psibean committed Dec 30, 2023
1 parent 25fbaa9 commit 473229a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
run: npm ci

- name: Build
run: npm run build --if-present
run: npm run build:code --if-present

- name: Run tests
run: npm test
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"build:types": "npx tsup src/index.ts --out-dir lib --dts-only --format esm,cjs",
"build:cjs": "tsc -p tsconfig.cjs.json && mv ./lib/cjs/index.js ./lib/cjs/index.cjs && cp ./lib/index.d.ts ./lib/index.d.cts",
"build:esm": "tsc -p tsconfig.json",
"build": "npm run build:types && npm run build:esm && npm run build:cjs",
"build:code": "npm run build:cjs && npm run build:esm",
"build": "npm run build:types && npm run build:code",
"build:clean": "npm run clean && npm run build",
"pack": "npm pack",
"pack:clean": "rm -rf *.tgz && npm run pack",
Expand Down

0 comments on commit 473229a

Please sign in to comment.