Browse Source

Update nodejs.yml

pull/18245/head
偏右 5 years ago
committed by GitHub
parent
commit
dd588b3ccb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      .github/workflows/nodejs.yml

20
.github/workflows/nodejs.yml

@ -0,0 +1,20 @@
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: npm install, build, and test
run: |
npm install
npm run build --if-present
npm test
Loading…
Cancel
Save