Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit 77de30a

Browse files
author
Natalie
committed
chore(gh-actions): add simple test
1 parent c59b282 commit 77de30a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/run-test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: run-test
2+
3+
on: push
4+
5+
jobs:
6+
# general test run
7+
test:
8+
9+
runs-on: ${{ matrix.os }}
10+
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest, macos-latest]
14+
node-version: [8.x, 10.x, 12.x, 14.x]
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
23+
- run: git submodule update --recursive --init
24+
- run: npm install
25+
- run: npm install ext/protagonist
26+
- run: npm test

0 commit comments

Comments
 (0)