Skip to content

Commit

Permalink
fix dist publish config and types file path
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart Veneman committed Apr 14, 2024
1 parent 1571ad9 commit 0c52adc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
types: [created]

jobs:
build:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -19,7 +19,7 @@ jobs:
- run: npm test

publish-npm:
needs: build
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
"delay",
"array"
],
"files": [
"dist"
],
"scripts": {
"test": "uvu",
"lint": "oxlint",
Expand All @@ -28,7 +31,7 @@
"exports": {
"require": "./dist/css-time-sort.cjs",
"default": "./dist/css-time-sort.modern.js",
"types": "./dist/css-time-sort.d.ts"
"types": "./dist/index.d.ts"
},
"types": "./dist/index.d.ts",
"devDependencies": {
Expand Down

0 comments on commit 0c52adc

Please sign in to comment.