Skip to content

Commit 0c52adc

Browse files
author
Bart Veneman
committed
fix dist publish config and types file path
1 parent 1571ad9 commit 0c52adc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
types: [created]
99

1010
jobs:
11-
build:
11+
test:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
@@ -19,7 +19,7 @@ jobs:
1919
- run: npm test
2020

2121
publish-npm:
22-
needs: build
22+
needs: test
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v4

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
"delay",
2020
"array"
2121
],
22+
"files": [
23+
"dist"
24+
],
2225
"scripts": {
2326
"test": "uvu",
2427
"lint": "oxlint",
@@ -28,7 +31,7 @@
2831
"exports": {
2932
"require": "./dist/css-time-sort.cjs",
3033
"default": "./dist/css-time-sort.modern.js",
31-
"types": "./dist/css-time-sort.d.ts"
34+
"types": "./dist/index.d.ts"
3235
},
3336
"types": "./dist/index.d.ts",
3437
"devDependencies": {

0 commit comments

Comments
 (0)