-
Notifications
You must be signed in to change notification settings - Fork 6
37 lines (37 loc) · 862 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: CI
on:
push:
branches:
- main
- beta
- next
- dev*
paths-ignore:
- "*.md"
- "docs/**"
pull_request:
types: [opened, reopened]
paths-ignore:
- "*.md"
- "docs/**"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
node: ["18", "20", "22"]
eleventy: ["1.0.2", "latest"]
name: Node.js ${{ matrix.node }} on ${{ matrix.os }} against @11ty/eleventy@${{ matrix.eleventy }}
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
# cache: npm
- run: npm install
- run: npm install @11ty/eleventy@${{ matrix.eleventy }}
- run: npm test
env:
YARN_GPG: no