2021-08-06 10:37:54 +02:00

30 lines
568 B
YAML

name: Tests
on: [push]
jobs:
run:
name: Run
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, macOS-latest]
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set Node.js 12.x
uses: actions/setup-node@master
with:
version: 12.x
- name: Setup java
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '12'
- name: npm install
run: npm install
- name: npm test
run: npm run test