Skip to content

Merge pull request #35 from linyisonger/dev #50

Merge pull request #35 from linyisonger/dev

Merge pull request #35 from linyisonger/dev #50

Workflow file for this run

name: CD Pipeline
on:
push:
branches: [master]
paths:
- "package.json"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
registry-url: https://registry.npmjs.org
- run: |
yarn install
yarn run build
yarn run test
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NpmToken}}