Skip to content

Commit 34bdab3

Browse files
authored
Fix publish (#300)
* Fix build command in publish workflow * Fix all issues of npm vs npm run
1 parent d170557 commit 34bdab3

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

.github/pull_request_template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ Thank you for your pull request. Please provide a description below.
1515

1616
**Validation**
1717
- [ ] Does `npm test` pass?
18-
- [ ] Does `npm build` pass?
19-
- [ ] Does `npm lint` pass?
18+
- [ ] Does `npm run build` pass?
19+
- [ ] Does `npm run lint` pass?

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Build Package
1818
run: |
1919
npm install
20-
npm build
20+
npm run build
2121
- name: Build Documentation
2222
run: npm run generate-docs
2323
- name: Push Documentation

.github/workflows/npm_upload.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Build Package
2020
run: |
2121
npm install
22-
npm build
22+
npm run build
2323
- name: NPM Publish
2424
uses: JS-DevTools/npm-publish@v1
2525
with:

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@
2929
},
3030
"files": [
3131
"*.md",
32-
"dist",
33-
"lib",
34-
"es",
32+
"LICENSE",
33+
".jsdoc.json",
34+
"rollup.config.js",
3535
"generator",
3636
"src",
37-
".jsdoc.json",
38-
"*.config.js"
37+
"lib",
38+
"dist",
39+
"es",
40+
"cjs"
3941
],
4042
"keywords": [
4143
"dropbox",

0 commit comments

Comments
 (0)