Skip to content

feat: update template (#103) #289

feat: update template (#103)

feat: update template (#103) #289

Workflow file for this run

name: ci
on: [push]
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 16.x
registry-url: https://registry.npmjs.org
- name: Set branch name
run: echo >>$GITHUB_ENV BRANCH_NAME=${GITHUB_REF#refs/heads/}
- run: npm i
- run: npm run ci
- name: Publish And Notify
run: npm run publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
DING_WEBHOOK: ${{secrets.DING_WEBHOOK}}