Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@ jobs:
- run: npm ci
- name: Update npm
run: npm install -g npm@latest
- name: Install ggshield
run: pipx install ggshield
- name: Release
run: npm publish --access public
env:
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}
publish-github:
runs-on: ubuntu-latest
permissions:
Expand All @@ -35,7 +39,10 @@ jobs:
- run: npm ci
- name: Update npm
run: npm install -g npm@latest
- name: Install ggshield
run: pipx install ggshield
- name: Release
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ github.token }}
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
/coverage

.env
.DS_Store
.DS_Store
# Added by ggshield
.cache_ggshield
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"scripts": {
"prepare": "npm run build",
"build": "tsup",
"postpack": "ggshield secret scan archive ./*.tgz",
"husky-check": "npx husky && chmod +x .husky/pre-commit",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=tests",
"test:unit:report:json": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=tests/unit --coverage --coverageReporters=clover --coverageReporters=json --coverageDirectory=coverage --testResultsProcessor=jest-json-reporter --outputFile=test-results.json"
Expand Down
Loading