Skip to content

Commit

Permalink
chore: 🤖 debug release
Browse files Browse the repository at this point in the history
  • Loading branch information
theashraf committed Sep 14, 2023
1 parent 1125fe7 commit 94b57ac
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,14 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}
NPM_TOKEN: ${{ secrets.NPMJS_TOKEN }}

- name: Remove existing .npmrc
run: rm -f "$HOME/.npmrc"

- name: ⎔ Setup Node@18 for Github Packages
uses: actions/setup-node@v3
with:
cache: 'pnpm'
node-version: 18
registry-url: 'https://npm.pkg.github.com'
- name: Creating .npmrc for Github Packages
run: |
Remove existing .npmrc
rm -f "$HOME/.npmrc"
# For Github Packages
echo "//npm.pkg.github.com/@lottiefiles/:_authToken=${{ secrets.NPM_TOKEN }}" >> "$HOME/.npmrc"
echo "always-auth=true" >> "$HOME/.npmrc"
- name: 🚀 Release to Github Packages
uses: changesets/action@v1
Expand Down

0 comments on commit 94b57ac

Please sign in to comment.