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

github.com/twbs/rfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2019-08-18 17:48:20 +0300
committerGitHub <noreply@github.com>2019-08-18 17:48:20 +0300
commit02f637bc85ae31728d8f7b33dfc2944e26143571 (patch)
treed66743de546637285a66b719d3d05d8d08863cdb /.github
parent04e4e0c2bf117334cd73031e644e660c635a12eb (diff)
Switch to GitHub Actions CI. (#153)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..dcef1b1
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,28 @@
+name: Run tests
+on: [push, pull_request]
+
+jobs:
+ run:
+ name: Node ${{ matrix.node }}
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ node: [8, 10, 12]
+
+ steps:
+ - uses: actions/checkout@master
+
+ - name: Set Node.js version
+ uses: actions/setup-node@v1.1.0
+ with:
+ version: ${{ matrix.node }}
+
+ - run: node --version
+ - run: npm --version
+
+ - name: Install npm dependencies
+ run: npm ci
+
+ - name: Run tests
+ run: npm test