Skip to content

Commit

Permalink
Create test_npm
Browse files Browse the repository at this point in the history
  • Loading branch information
montumodi authored Oct 29, 2024
1 parent bb3abae commit f9eaa0f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test_npm
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Node.js Package

on:
workflow_dispatch:

jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo:
- uses: actions/checkout@v3
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: npm list
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit f9eaa0f

Please sign in to comment.