Skip to content

Commit

Permalink
chore(gh-actions): add simple test
Browse files Browse the repository at this point in the history
  • Loading branch information
Natalie committed Aug 28, 2020
1 parent c59b282 commit 77de30a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: run-test

on: push

jobs:
# general test run
test:

runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, macos-latest]
node-version: [8.x, 10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- run: git submodule update --recursive --init
- run: npm install
- run: npm install ext/protagonist
- run: npm test

0 comments on commit 77de30a

Please sign in to comment.