diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-08-24 03:10:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-24 03:10:02 +0300 |
commit | b322895875349553f338a3275f1237941bcf8e6e (patch) | |
tree | b4d6925999f5c928dee7fa2b8115be367fcf1865 /.github | |
parent | b9813d5b2026e7bc90bb92c1b10645d453229ca6 (diff) |
Add GitHub Actions CI. (#19)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 000000000..314b4c2c9 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,31 @@ +name: Run tests +on: [push, pull_request] + +jobs: + run: + name: Node ${{ matrix.node }} + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + node: [10] + + steps: + - name: Clone repository + uses: actions/checkout@master + + - name: Set up Node.js + uses: actions/setup-node@v1.1.0 + with: + version: ${{ matrix.node }} + + - run: node --version + - run: npm --version + - run: java -version + + - name: Install npm dependencies + run: npm ci + + - name: Run tests + run: npm test |