Skip to content

Commit 038e4dc

Browse files
committed
Replace travis ci with github action
1 parent 9297dd7 commit 038e4dc

File tree

3 files changed

+25
-8
lines changed

3 files changed

+25
-8
lines changed

.github/workflows/ci.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Node.js CI
2+
on:
3+
push:
4+
branches: master
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
node-version: [10, 12, 14, 16, 18, 20, 22]
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
- name: Setup Node.js ${{ matrix.node-version }}
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: ${{ matrix.node-version }}
18+
- name: Install dependencies
19+
run: yarn install --frozen-lockfile
20+
- name: Run tests
21+
run: yarn test --ci --coverage
22+
- name: Upload coverage to Codecov
23+
uses: codecov/codecov-action@v4
24+
with:
25+
token: ${{ secrets.CODECOV_TOKEN }}

.travis.yml

-7
This file was deleted.

readme.md

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# rollup-plugin-delete
22

3-
[![Build Status](https://travis-ci.org/vladshcherbin/rollup-plugin-delete.svg?branch=master)](https://travis-ci.org/vladshcherbin/rollup-plugin-delete)
43
[![Codecov](https://codecov.io/gh/vladshcherbin/rollup-plugin-delete/branch/master/graph/badge.svg)](https://codecov.io/gh/vladshcherbin/rollup-plugin-delete)
54

65
Delete files and folders using Rollup.

0 commit comments

Comments
 (0)