Browse Source

migrate fpb-lint from travisci to gh actions (#5186)

borgified 5 năm trước cách đây
mục cha
commit
37dc474fbd
2 tập tin đã thay đổi với 17 bổ sung14 xóa
  1. 17 0
      .github/workflows/fpb-lint.yml
  2. 0 14
      .travis.yml

+ 17 - 0
.github/workflows/fpb-lint.yml

@@ -0,0 +1,17 @@
+name: free-programming-books-lint
+
+on: [push]
+
+jobs:
+  build:
+
+    runs-on: ubuntu-latest
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: Use Node.js
+      uses: actions/setup-node@v1
+      with:
+        node-version: '6.x'
+    - run: npm install -g free-programming-books-lint
+    - run: fpb-lint .

+ 0 - 14
.travis.yml

@@ -1,14 +0,0 @@
-language: shell
-dist: xenial
-os: linux
-
-jobs:
-  include:
-    -
-      language: node_js
-      node_js:
-        - 6
-      before_script:
-        - npm install -g free-programming-books-lint
-      script:
-        - fpb-lint .