Browse Source

Add GHA

pull/5/head
arnaucube 3 years ago
parent
commit
502fb31a2a
1 changed files with 23 additions and 0 deletions
  1. +23
    -0
      .github/workflows/test.yml

+ 23
- 0
.github/workflows/test.yml

@ -0,0 +1,23 @@
name: Test
on: [push, pull_request]
jobs:
node-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: 10.x
- name: Build
run: |
npm install
npm run build
- name: Run tests
run: npm run test

Loading…
Cancel
Save