From aa7cdd8de22718a7057ecc2ebc64c987007113dd Mon Sep 17 00:00:00 2001 From: Evan You Date: Sat, 14 Sep 2019 10:33:30 -0400 Subject: [PATCH] [ci] setup github actions --- .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 000000000..e646aebf3 --- /dev/null +++ b/.github/workflows/nodejs.yml @@ -0,0 +1,20 @@ +name: Node CI + +on: [push] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Use Node.js + uses: actions/setup-node@v1 + with: + node-version: '12.x' + - name: test + run: | + yarn + yarn test + env: + CI: true + TEST: true