Skip to content

Commit

Permalink
chore(ci): don't persist github credentials before publish
Browse files Browse the repository at this point in the history
and re-bump lerna to latest
  • Loading branch information
mirceanis committed Jul 27, 2023
1 parent ee94e14 commit 99e9fc9
Show file tree
Hide file tree
Showing 4 changed files with 273 additions and 776 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build-test-publish-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- uses: pnpm/action-setup@v2
with:
version: 8
Expand Down Expand Up @@ -85,6 +86,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/download-artifact@v3
with:
name: coverage-artifacts
Expand Down Expand Up @@ -154,6 +156,7 @@ jobs:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
GH_TOKEN: ${{secrets.GH_TOKEN}}
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}
GH_USER: ${{secrets.GH_USER}}
GH_EMAIL: ${{secrets.GH_EMAIL}}
runs-on: ubuntu-latest
Expand Down Expand Up @@ -182,7 +185,7 @@ jobs:

- name: 'Setup git coordinates'
run: |
git remote set-url origin https://uport-project:$GH_TOKEN@github.com/uport-project/veramo.git
git remote set-url origin https://${{secrets.GH_USER}}:${{secrets.GH_TOKEN}}@github.com/uport-project/veramo.git
git config user.name $GH_USER
git config user.email $GH_EMAIL
Expand Down
3 changes: 1 addition & 2 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@
"gitRemote": "origin",
"message": "chore(release): %s [skip ci]"
}
},
"useWorkspaces": true
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"jest-environment-jsdom": "29.5.0",
"jest-environment-node": "29.5.0",
"json-schema": "0.4.0",
"lerna": "6.6.2",
"lerna": "7.0.0",
"lerna-changelog": "2.2.0",
"oas-resolver": "2.5.6",
"openapi-types": "12.1.3",
Expand Down
Loading

0 comments on commit 99e9fc9

Please sign in to comment.