Skip to content

feat: 增加树形结构数据转 map 方法 #52

feat: 增加树形结构数据转 map 方法

feat: 增加树形结构数据转 map 方法 #52

Workflow file for this run

name: Node.js CI
on:
push:
branches:
- main
paths:
- 'package.json'
jobs:
publish-npm:
runs-on: macos-latest
# 任务的步骤
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}