Skip to content

Commit bceb8ac

Browse files
committed
Add npm publish provenance
1 parent 5636b79 commit bceb8ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Earthfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ prepublish:
1717
LOCALLY
1818
RUN npm run clean
1919
COPY +build/dist dist/
20-
RUN npm version prerelease --no-git-tag-version && \
20+
RUN npm version prerelease --no-git-tag-version --provenance && \
2121
npm publish --tag=beta
2222

2323
publish:
2424
LOCALLY
2525
ARG --required VERSION
2626
COPY +build/dist dist/
2727
RUN npm version $VERSION && \
28-
# npm publish
28+
# npm publish --provenance
2929
npm publish --dry-run
3030
# RUN git push origin master

0 commit comments

Comments
 (0)