Skip to content

Commit

Permalink
chore: 细化 actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jianglin-wu committed Dec 5, 2019
1 parent a4b81c0 commit 5eeb68a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: Node.js Package
name: Node.js Publish

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Node.js Test

on:
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install
- run: npm run test

0 comments on commit 5eeb68a

Please sign in to comment.