Skip to content

Commit

Permalink
- chore: remove --access public: it is now in the package.json
Browse files Browse the repository at this point in the history
- fix: build files before publishing
  • Loading branch information
kevaundray committed Mar 1, 2023
1 parent d2406c5 commit ba2a063
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish --access public
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@crate-crypto/crypto-4844",
"version": "0.1.0",
"version": "0.1.1",
"description": "Cryptography needed for EIP4844",
"type": "module",
"main": "dist/index.js",
Expand All @@ -27,6 +27,9 @@
"benchmark": "npm run benchmark:files 'tests/perf/*.test.ts'",
"benchmark:files": "NODE_OPTIONS='--max-old-space-size=4096 --loader=ts-node/esm' benchmark --config .benchrc.yaml"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@dapplion/benchmark": "^0.2.4",
"@types/chai": "^4.3.4",
Expand Down

0 comments on commit ba2a063

Please sign in to comment.