Skip to content

Commit 858c0ac

Browse files
author
Paul Marbach
authored
Merge pull request #33 from spotify/fix-publish
fix: build script was not properly run on publish
2 parents dded5ff + 3e458a4 commit 858c0ac

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
run: yarn
2020
- name: lint
2121
run: yarn lint
22+
- name: build
23+
run: yarn build
2224
- name: test
2325
run: yarn test
2426
- name: release

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,7 @@ jobs:
2727
run: yarn
2828
- name: lint
2929
run: yarn lint
30+
- name: build
31+
run: yarn build
3032
- name: test
3133
run: yarn test

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
"main": "cjs/index.js",
1212
"module": "esm/index.js",
1313
"types": "types",
14+
"files": [
15+
"types",
16+
"cjs",
17+
"esm"
18+
],
1419
"scripts": {
1520
"dev": "nodemon",
1621
"start": "node ./cjs/run.js",

0 commit comments

Comments
 (0)