Skip to content

Commit

Permalink
chore(pm): update script for dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
PunGrumpy committed Jan 7, 2024
1 parent abe2b7e commit 63249f7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
run: bun install
- name: 🧪 Test
# run: bun test --timeout 5000 --coverage --update-snapshots
run: bun run test
run: bun run test:ci
release:
strategy:
fail-fast: false
Expand Down Expand Up @@ -134,4 +134,4 @@ jobs:
git push origin stable
- name: 📦 Publish
if: ${{ steps.release.outputs.release_created }}
run: npm publish
run: bun run publish
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
},
"license": "MIT",
"scripts": {
"pretest": "bun run lint && bun run lint:fix && bun run prettier",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"prepublish": "bun run pretest && bun run test",
"test": "bun test --timeout 5000 --coverage --update-snapshots",
"test:ci": "bun test --timeout 5000 --coverage --update-snapshots",
"publish": "bun run prepublish && npm publish",
"dev": "bun run --watch example/basic.ts",
"prepare": "husky install",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"lint:staged": "lint-staged",
"prettier": "prettier --write ."
},
Expand Down

0 comments on commit 63249f7

Please sign in to comment.