]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
[ci] setup github actions
authorEvan You <yyx990803@gmail.com>
Sat, 14 Sep 2019 14:33:30 +0000 (10:33 -0400)
committerGitHub <noreply@github.com>
Sat, 14 Sep 2019 14:33:30 +0000 (10:33 -0400)
.github/workflows/nodejs.yml [new file with mode: 0644]

diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml
new file mode 100644 (file)
index 0000000..e646aeb
--- /dev/null
@@ -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