Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

Commit

Permalink
chore: loading .env in the release process
Browse files Browse the repository at this point in the history
  • Loading branch information
Nevoss committed Jun 14, 2019
1 parent 7e05c93 commit 778a4ca
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .release-it.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
// Load env files to the process
require('dotenv').config()

module.exports = {
hooks: {
'before:init': ['npm run test:prod'],
},
git: {
tagName: 'v${version}',
changelog: false,
Expand Down
1 change: 1 addition & 0 deletions env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GITHUB_TOKEN=
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"@typescript-eslint/eslint-plugin": "^1.9.0",
"@typescript-eslint/parser": "^1.9.0",
"codecov": "^3.5.0",
"dotenv": "^8.0.0",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.3.0",
"eslint-plugin-prettier": "^3.1.0",
Expand Down

0 comments on commit 778a4ca

Please sign in to comment.