Browse Source

Checks on push and fix formatting (#1048)

Lipis 5 năm trước cách đây
mục cha
commit
e9058dc5a7
2 tập tin đã thay đổi với 12 bổ sung4 xóa
  1. 6 2
      .github/workflows/lint.yml
  2. 6 2
      .github/workflows/test.yml

+ 6 - 2
.github/workflows/lint.yml

@@ -1,6 +1,10 @@
-name: Node CI
+name: Lint
 
-on: [pull_request]
+on:
+  push:
+    branches:
+      - master
+  pull_request:
 
 jobs:
   lint:

+ 6 - 2
.github/workflows/test.yml

@@ -1,6 +1,10 @@
-name: Node CI
+name: Tests
 
-on: [pull_request]
+on:
+  push:
+    branches:
+      - master
+  pull_request:
 
 jobs:
   test: