Skip to content

Commit 05a0b08

Browse files
Richienbsindresorhus
andauthoredJan 3, 2021
Move to GitHub Actions (#32)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
1 parent 4d774c6 commit 05a0b08

File tree

3 files changed

+32
-12
lines changed

3 files changed

+32
-12
lines changed
 

‎.github/workflows/main.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
test:
7+
name: Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
node-version:
13+
- 14
14+
- 12
15+
- 10
16+
- 8
17+
os:
18+
- macos-latest
19+
- ubuntu-latest
20+
- windows-latest
21+
steps:
22+
- uses: actions/checkout@v2
23+
- uses: actions/setup-node@v1
24+
with:
25+
node-version: ${{ matrix.node-version }}
26+
- run: npm install
27+
- run: npm test
28+
- uses: codecov/codecov-action@v1
29+
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 14
30+
with:
31+
fail_ci_if_error: true

‎.travis.yml

-11
This file was deleted.

‎readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# find-cache-dir [![Build Status](https://travis-ci.org/avajs/find-cache-dir.svg?branch=master)](https://travis-ci.org/avajs/find-cache-dir) [![Coverage Status](https://coveralls.io/repos/github/avajs/find-cache-dir/badge.svg?branch=master)](https://coveralls.io/github/avajs/find-cache-dir?branch=master)
1+
# find-cache-dir [![Coverage Status](https://codecov.io/gh/avajs/find-cache-dir/branch/master/graph/badge.svg)](https://codecov.io/gh/avajs/find-cache-dir/branch/master)
22

33
> Finds the common standard cache directory
44

0 commit comments

Comments
 (0)
Please sign in to comment.