Skip to content

Merge pull request #14 from hqwlkj/hqwlkj-patch-2 #13

Merge pull request #14 from hqwlkj/hqwlkj-patch-2

Merge pull request #14 from hqwlkj/hqwlkj-patch-2 #13

Workflow file for this run

name: test and build
on:
push:
branches:
- 'main'
- 'master'
- 'dev'
- 'feature-*'
- 'fix-*'
- 'hotfix-*'
- 'refactor-*'
paths:
- '.github/workflows/*'
- 'src/**'
- 'example/**'
- 'test/**'
- 'build/**'
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.x
registry-url: https://registry.npmjs.org/
- run: npm i
- run: npm run test
- run: npm run build