Skip to content

chore(ci): Try fix pacakge publish #6 #6

chore(ci): Try fix pacakge publish #6

chore(ci): Try fix pacakge publish #6 #6

Workflow file for this run

name: Publish package to npm
on:
push:
branches: ["*"]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: 'https://registry.npmjs.org'
- name: Publish to npm
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}