Skip to content

Commit 3371329

Browse files
authored
Merge pull request #11 from mtrezza/fix-release-script
Fix release script
2 parents 00769e2 + 4957150 commit 3371329

File tree

3 files changed

+75
-27
lines changed

3 files changed

+75
-27
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
restore-keys: |
2020
${{ runner.os }}-node-
2121
- run: npm ci
22+
- run: npm run release
2223
- run: npm publish
2324
env:
2425
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

package-lock.json

Lines changed: 71 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint:test": "eslint 'spec/**/*.js'",
1111
"lint": "npm run lint:src && npm run lint:test",
1212
"test": "nyc --reporter=lcov jasmine",
13-
"release": "npm run lint && npm run build && npm test",
13+
"release": "npm run build && npm test",
1414
"posttest": "nyc report --reporter=json && codecov -f coverage/*.json",
1515
"demo": "node ./demo"
1616
},
@@ -44,7 +44,9 @@
4444
"@babel/plugin-transform-flow-strip-types": "^7.12.10",
4545
"@babel/preset-env": "^7.12.11",
4646
"codecov": "^3.8.1",
47+
"babel-eslint": "10.1.0",
4748
"eslint": "^7.17.0",
49+
"eslint-plugin-flowtype": "^5.2.0",
4850
"jasmine": "^3.6.3",
4951
"nyc": "^15.1.0",
5052
"mailgun.js": "2.0.6"

0 commit comments

Comments
 (0)