From 5469bcf2a38dd6846208cdae0460b540ae675480 Mon Sep 17 00:00:00 2001 From: spypsy Date: Thu, 21 Nov 2024 11:18:53 +0000 Subject: [PATCH] fix .npmrc dir --- l1-contracts/Earthfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l1-contracts/Earthfile b/l1-contracts/Earthfile index f8932184cfe4..821f4e7befc6 100644 --- a/l1-contracts/Earthfile +++ b/l1-contracts/Earthfile @@ -32,8 +32,8 @@ publish-npm: ARG VERSION ARG DIST_TAG ARG DRY_RUN=0 - RUN --secret NPM_TOKEN echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > /usr/src/barretenberg/ts/.npmrc WORKDIR /usr/src/l1-contracts + RUN --secret NPM_TOKEN echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc RUN jq --arg v $VERSION '.version = $v' package.json > _tmp.json && mv _tmp.json package.json RUN if [ "$DRY_RUN" = "1" ]; then \ npm publish --tag $DIST_TAG --access public --dry-run; \