mirror of
https://github.com/any86/any-rule.git
synced 2025-07-14 15:38:58 +08:00
chore(build): 集成action
This commit is contained in:
parent
1c505b4266
commit
881578e72d
19
.github/workflows/nodejs.yml
vendored
Normal file
19
.github/workflows/nodejs.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
name: Node CI
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- name: Use Node.js 10.x
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
version: 10.x
|
||||||
|
- name: test
|
||||||
|
run: |
|
||||||
|
npm i
|
||||||
|
npm run test:rules
|
Loading…
x
Reference in New Issue
Block a user