Skip to content

Commit

Permalink
Merge pull request emartech#12 from arnaudbuchholz-sap/master
Browse files Browse the repository at this point in the history
fix(package): adjust release command
  • Loading branch information
arnaudbuchholz-sap authored Mar 14, 2023
2 parents 1bdf7b0 + a5ce318 commit 56f481e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ jobs:
- name: Testing
run: npm test
- name: Release
run: npm run release
env:
CI: 'true'
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GH_TOKEN }}
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
run: npx semantic-release
GH_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GH_TOKEN }}
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"code-style": "eslint '**/*.js'",
"test-run": "mocha ./lib --recursive",
"audit": "npm audit",
"test": "npm run test-run && npm run audit && npm run code-style"
"test": "npm run test-run && npm run audit && npm run code-style",
"release": "CI=true semantic-release"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 56f481e

Please sign in to comment.