]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
ci: test github actions
authorEvan You <yyx990803@gmail.com>
Fri, 7 May 2021 13:39:13 +0000 (09:39 -0400)
committerEvan You <yyx990803@gmail.com>
Fri, 7 May 2021 13:39:13 +0000 (09:39 -0400)
.github/workflows/test-dts.yml [new file with mode: 0644]
.github/workflows/test.yml [new file with mode: 0644]

diff --git a/.github/workflows/test-dts.yml b/.github/workflows/test-dts.yml
new file mode 100644 (file)
index 0000000..e805670
--- /dev/null
@@ -0,0 +1,16 @@
+name: 'test-dts'
+on:
+  push:
+    branches:
+      - '**'
+  pull_request:
+    branches:
+      - master
+jobs:
+  size:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v1
+      - uses: bahmutov/npm-install@v1
+      - name: test dts
+        run: yarn test-dts
\ No newline at end of file
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644 (file)
index 0000000..65c57bb
--- /dev/null
@@ -0,0 +1,16 @@
+name: 'test'
+on:
+  push:
+    branches:
+      - '**'
+  pull_request:
+    branches:
+      - master
+jobs:
+  size:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v1
+      - uses: bahmutov/npm-install@v1
+      - name: test dts
+        run: yarn test --ci
\ No newline at end of file