Skip to content

test npm

test npm #1

Workflow file for this run

name: test npm
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}}