Skip to content

build: bump 5.18.1

build: bump 5.18.1 #64

Workflow file for this run

# see https://help.github.com/cn/actions/language-and-framework-guides/publishing-nodejs-packages
name: Node.js Package
on:
push:
tags: ['*']
jobs:
publish:
name: 'Publish'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/[email protected]
name: Install pnpm
id: pnpm-install
with:
version: 7.3.0
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v1
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: pnpm i
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}