Skip to content

Commit 1455917

Browse files
authored
ci: add github action (#32)
1 parent 491e011 commit 1455917

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Netlify Plugin Sitemap Test
2+
3+
on:
4+
push:
5+
branches: [master]
6+
tags: ['*']
7+
pull_request:
8+
types: [opened, synchronize, reopened]
9+
10+
jobs:
11+
build:
12+
runs-on: ${{ matrix.os }}
13+
timeout-minutes: 10
14+
strategy:
15+
matrix:
16+
os: [ubuntu-latest]
17+
node-version: [14.x]
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v1
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
- run: npm ci
26+
- run: npm test

0 commit comments

Comments
 (0)