Skip to content

Commit 2808d40

Browse files
Back to original, but run build specifically in gh release action
1 parent 7c67284 commit 2808d40

File tree

3 files changed

+88
-5
lines changed

3 files changed

+88
-5
lines changed

.github/workflows/npm-publish.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
node-version: 12
1818
- run: npm ci
1919
- run: npm test
20-
- run: npm run build
2120

2221
publish-npm:
2322
needs: build
@@ -29,7 +28,7 @@ jobs:
2928
node-version: 12
3029
registry-url: https://registry.npmjs.org/
3130
- run: npm ci
32-
- run: npm pack
31+
- run: npm run build
3332
- run: npm publish
3433
env:
3534
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

.npmignore

+85
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
.idea
2+
.vscode
3+
docs
4+
.DS_Store
5+
6+
src
7+
jest.config.js
8+
tsconfig.json
9+
tslint.json
10+
.prettierrc.json
11+
lib/scratch.js
12+
13+
# Logs
14+
logs
15+
*.log
16+
npm-debug.log*
17+
yarn-debug.log*
18+
yarn-error.log*
19+
20+
# Runtime data
21+
pids
22+
*.pid
23+
*.seed
24+
*.pid.lock
25+
26+
# Directory for instrumented libs generated by jscoverage/JSCover
27+
lib-cov
28+
29+
# Coverage directory used by tools like istanbul
30+
coverage
31+
32+
# nyc test coverage
33+
.nyc_output
34+
35+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
36+
.grunt
37+
38+
# Bower dependency directory (https://bower.io/)
39+
bower_components
40+
41+
# node-waf configuration
42+
.lock-wscript
43+
44+
# Compiled binary addons (https://nodejs.org/api/addons.html)
45+
build/Release
46+
47+
# Dependency directories
48+
node_modules/
49+
jspm_packages/
50+
51+
# TypeScript v1 declaration files
52+
typings/
53+
54+
# Optional npm cache directory
55+
.npm
56+
57+
# Optional eslint cache
58+
.eslintcache
59+
60+
# Optional REPL history
61+
.node_repl_history
62+
63+
# Output of 'npm pack'
64+
*.tgz
65+
66+
# Yarn Integrity file
67+
.yarn-integrity
68+
69+
# dotenv environment variables file
70+
.env
71+
72+
# parcel-bundler cache (https://parceljs.org/)
73+
.cache
74+
75+
# next.js build output
76+
.next
77+
78+
# nuxt.js build output
79+
.nuxt
80+
81+
# vuepress build output
82+
.vuepress/dist
83+
84+
# Serverless directories
85+
.serverless

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "addigy",
3-
"version": "1.3.6",
3+
"version": "1.3.7",
44
"description": "",
55
"main": "./dist/index.js",
66
"types": "./dist/index.d.ts",
@@ -63,6 +63,5 @@
6363
},
6464
"volta": {
6565
"node": "14.16.0"
66-
},
67-
"files": ["dist", "package.json", "README.md"]
66+
}
6867
}

0 commit comments

Comments
 (0)