Skip to content

Commit

Permalink
remove buggy github package publish
Browse files Browse the repository at this point in the history
- removed github packages publish (repo scope not same as package name raises error)
- removed unnecessary publishConfig.package.json
- updated version
  • Loading branch information
gabririgo committed Jun 10, 2022
1 parent f6d7bdd commit b5e6030
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 33 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,35 +27,6 @@ jobs:
- run: yarn build
#- run: yarn test

publish-gpr:
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
solidity: [""]
settings: ['{"optimizer":{"enabled":true,"runs":200}}']
env:
SOLIDITY_VERSION: ${{ matrix.solidity }}
SOLIDITY_SETTINGS: ${{ matrix.settings }}
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.7.0
registry-url: https://npm.pkg.github.com/
always-auth: true
- uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- run: yarn --frozen-lockfile
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{secrets.PUBLISH_GITHUB_TOKEN}}

publish-npm:
needs: build
runs-on: ubuntu-latest
Expand Down
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rgbk/v3-contracts",
"version": "0.1.0",
"version": "0.1.1",
"description": "Ethereum asset management",
"homepage": "https://github.com/rigoblock/v3-contracts/",
"license": "Apache-2.0",
Expand Down Expand Up @@ -39,9 +39,6 @@
"Wallet",
"Rigoblock"
],
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"author": "gab@rigoblock.com",
"bugs": {
"url": "https://github.com/rigoblock/v3-contracts/issues"
Expand Down

0 comments on commit b5e6030

Please sign in to comment.