Skip to content

Commit

Permalink
Merge pull request #251 from github/feelepxyz/provenance
Browse files Browse the repository at this point in the history
Update to use latest npm CLI release
  • Loading branch information
bdehamer authored Feb 17, 2023
2 parents 244af66 + a664a44 commit 0ea55ec
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,12 @@ jobs:
node-version: 18
registry-url: https://registry.npmjs.org/
cache: npm
- run: npm install -g npm@latest
- run: npm ci
- run: npm test
- run: npm version ${TAG_NAME} --git-tag-version=false
env:
TAG_NAME: ${{ github.event.release.tag_name }}

# Provenance beta builds
# Remove when stable
- name: Clone npm
uses: actions/checkout@v3
with:
repository: npm/cli
ref: provenance
path: npm
- name: Link npm
run: |
cd npm
node . link
cd ..
npm version
# Provenance beta builds
# Remove when stable

- run: npm whoami; npm --ignore-scripts publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
Expand Down

0 comments on commit 0ea55ec

Please sign in to comment.