Skip to content

Commit

Permalink
ci: 💚 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroRM-DEV committed Aug 30, 2024
1 parent ea8e208 commit b3a5286
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm ci
Expand All @@ -32,6 +31,9 @@ jobs:
git config user.name "GitHub Actions"
git config user.email "[email protected]"
- name: Authenticate with npm registry
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

- name: Run release-it
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,6 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

# Ignore .npmrc file
.npmrc

0 comments on commit b3a5286

Please sign in to comment.