Skip to content

Commit

Permalink
split step
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Dec 26, 2024
1 parent 74c7802 commit 71c1dbd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,7 @@ jobs:
npm install --force --save-dev \
react@${{matrix.react-version}} \
react-dom@${{matrix.react-version}}
- name: Build module
run: npm run build
- name: Run tests
run: npm run tests-only
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
run: npm install
- name: Run tests
run: npm test
- name: Build module
run: npm run build
- name: Build example
run: npm run --prefix example build
- name: Publish site
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
"build": "tsup src/index.tsx --format esm,cjs --experimental-dts",
"docs": "prop-types-table src/index.js | md-insert README.md --header Props -i",
"example": "npm run --prefix example start",
"prepare": "npm run build",
"browserslist": "npx browserslist --mobile-to-desktop '> 0.5%, last 2 versions, Firefox ESR, not dead, not IE 11' > .browserslistrc",
"test": "npm run tests-only && npm run lint",
"lint": "eslint --fix --ext .js,.jsx,.ts,.tsx .",
Expand Down

0 comments on commit 71c1dbd

Please sign in to comment.