Skip to content

keywords are added to the package #4

keywords are added to the package

keywords are added to the package #4

Workflow file for this run

name: Publish to npm
on:
push:
branches:
- main
paths:
- 'package.json'
- 'node.js'
- 'README.md'
- '.github/workflows/publish.yml'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org/'
- name: Install dependencies
run: npm ci
- name: Publish to npm
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}