Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/grunt-bootlint.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2019-08-26 22:00:36 +0300
committerGitHub <noreply@github.com>2019-08-26 22:00:36 +0300
commit90f3bc97033dd7c834f2ae04924a8b8371cf7d5a (patch)
tree9c00e6b756aa4ce99994920b66208dc9b563b5d8 /.github
parent341957e6bb872ca1c07d896467a17c0bf87fbf46 (diff)
Switch to GitHub Actions CI. (#65)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..6392547
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,32 @@
+name: Run tests
+on: [push, pull_request]
+
+jobs:
+ run:
+ name: Node ${{ matrix.node }}
+ runs-on: ubuntu-latest
+
+ strategy:
+ fail-fast: false
+ matrix:
+ node: [6, 8, 10, 12]
+
+ steps:
+ - name: Clone repository
+ uses: actions/checkout@master
+ with:
+ fetch-depth: 3
+
+ - name: Set up Node.js
+ uses: actions/setup-node@v1.1.0
+ with:
+ version: ${{ matrix.node }}
+
+ - run: node --version
+ - run: npm --version
+
+ - name: Install npm dependencies
+ run: npm install # switch to `npm ci` when Node.js 6.x is dropped
+
+ - name: Run tests
+ run: npm test