Skip to content

Commit 9f3d8aa

Browse files
committed
GitHub Actions
Signed-off-by: Matteo Collina <hello@matteocollina.com>
1 parent 0729602 commit 9f3d8aa

File tree

3 files changed

+61
-9
lines changed

3 files changed

+61
-9
lines changed

.github/dependabot.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10

.github/workflows/ci.yml

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: ci
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
legacy:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
node-version: ['0.10', '0.12', 4.x, 6.x, 8.x, 10.x, 12.x, 13.x, 14.x, 15.x, 16.x]
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
persist-credentials: false
17+
18+
- name: Use Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
23+
- name: Install
24+
run: |
25+
npm install --production && npm install tape
26+
27+
- name: Run tests
28+
run: |
29+
npm run test
30+
31+
test:
32+
runs-on: ubuntu-latest
33+
34+
strategy:
35+
matrix:
36+
node-version: [18.x, 20.x, 22.x, 23.x]
37+
38+
steps:
39+
- uses: actions/checkout@v4
40+
with:
41+
persist-credentials: false
42+
43+
- name: Use Node.js
44+
uses: actions/setup-node@v4
45+
with:
46+
node-version: ${{ matrix.node-version }}
47+
48+
- name: Install
49+
run: |
50+
npm install
51+
52+
- name: Run tests
53+
run: |
54+
npm run test

.travis.yml

-9
This file was deleted.

0 commit comments

Comments
 (0)