Skip to content

Commit

Permalink
Add npm publish provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
Kesin11 committed May 12, 2024
1 parent 5636b79 commit bceb8ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ prepublish:
LOCALLY
RUN npm run clean
COPY +build/dist dist/
RUN npm version prerelease --no-git-tag-version && \
RUN npm version prerelease --no-git-tag-version --provenance && \
npm publish --tag=beta

publish:
LOCALLY
ARG --required VERSION
COPY +build/dist dist/
RUN npm version $VERSION && \
# npm publish
# npm publish --provenance
npm publish --dry-run
# RUN git push origin master

0 comments on commit bceb8ac

Please sign in to comment.