Skip to content

Commit bda5853

Browse files
committed
Add GitHub Actions job to execute tests
1 parent 2c92530 commit bda5853

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: showdown-highlight-tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
tests:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
node-version: [18.x, 20.x, 22.x]
12+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- run: npm install
21+
- run: npm test

0 commit comments

Comments
 (0)