Skip to content

Commit 28ecfd5

Browse files
authored
Merge pull request #70 from github/feelepxyz/provenance
Update to use latest npm CLI release
2 parents 8b336f1 + 9379a38 commit 28ecfd5

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,8 @@ jobs:
2323
- run: npm version ${TAG_NAME} --git-tag-version=false
2424
env:
2525
TAG_NAME: ${{ github.event.release.tag_name }}
26-
27-
# Provenance beta builds
28-
# Remove when stable
29-
- name: Clone npm
30-
uses: actions/checkout@v3
31-
with:
32-
repository: npm/cli
33-
ref: provenance
34-
path: npm
35-
- name: Link npm
36-
run: |
37-
cd npm
38-
node . link
39-
cd ..
40-
npm version
41-
# Provenance beta builds
42-
# Remove when stable
43-
26+
# Install latest version of npm for publishing with provenance
27+
- run: npm install -g npm
4428
- run: npm whoami; npm --ignore-scripts publish --provenance --access public
4529
env:
4630
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)