Skip to content

Commit

Permalink
test different npm token approach
Browse files Browse the repository at this point in the history
  • Loading branch information
mimarz committed Jul 24, 2024
1 parent 76d64eb commit b72dc91
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/gh-setup
- name: Create Snapshot Release
- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Create Snapshot Release
run: |
yarn run version-packages --snapshot "${{ github.ref_name }}"
echo '---'
Expand Down

0 comments on commit b72dc91

Please sign in to comment.