From dd588b3ccb31fd56b60748a459750f45f3a1b475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=8F=E5=8F=B3?= Date: Tue, 13 Aug 2019 16:02:58 +0800 Subject: [PATCH] Update nodejs.yml --- .github/workflows/nodejs.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/nodejs.yml diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml new file mode 100644 index 0000000000..ad431d7dc0 --- /dev/null +++ b/.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