Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vishakh-abhayan authored Nov 26, 2023
1 parent d7342ed commit ea5686f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,13 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '16' # Ensure using Node.js 16
registry-url: https://registry.npmjs.org

- name: Print NPM Version and Config
run: |
npm --version
npm config list
node-version: '16'
registry-url: 'https://registry.npmjs.org/' # Ensure using the correct registry URL

- name: Install Dependencies
run: npm install

- name: Publish to npm
run: npm publish --access public --verbose # Verbose logging
run: npm publish --access public --verbose
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}

0 comments on commit ea5686f

Please sign in to comment.