Skip to content

Commit 504420d

Browse files
Merge branch 'master' into hidden-tabs
2 parents db1cf5d + 9faecbb commit 504420d

File tree

4 files changed

+108
-4
lines changed

4 files changed

+108
-4
lines changed

.github/workflows/codecov.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Running Code Coverage
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
strategy:
13+
matrix:
14+
node-version: [14.x, 15.x, 16.x, 18.x]
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v2
19+
with:
20+
# Fine-grained PAT with contents:write and workflows:write
21+
# scopes
22+
token: ${{ secrets.GITHUB_TOKEN }}
23+
24+
- name: Set up Node.js ${{ matrix.node-version }}
25+
uses: actions/setup-node@v1
26+
with:
27+
node-version: ${{ matrix.node-version }}
28+
29+
- name: Install dependencies
30+
run: npm install
31+
32+
- name: Run tests
33+
run: npm run test
34+
35+
- name: Upload coverage to Codecov
36+
uses: codecov/codecov-action@v1
37+
with:
38+
token: ${{ secrets.CODECOV_TOKEN }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
[![Test coverage](https://codecov.io/gh/dev-javascript/react-dyn-tabs/graph/badge.svg?token=GT1LU074L2)](https://codecov.io/gh/dev-javascript/react-dyn-tabs) [![NPM version](http://img.shields.io/npm/v/react-dyn-tabs.svg?style=flat-square)](https://www.npmjs.com/package/react-dyn-tabs) [![node](https://img.shields.io/badge/node.js-%3E=_8.0-green.svg?style=flat-square)](http://nodejs.org/download/) [![React](https://img.shields.io/badge/React-%3E=_16.8.0-green.svg?style=flat-square)](https://react.dev/) [![License](http://img.shields.io/npm/l/react-dyn-tabs.svg?style=flat-square)](LICENSE) [![npm download](https://img.shields.io/npm/dm/react-dyn-tabs.svg?style=flat-square)](https://npmjs.org/package/react-dyn-tabs) [![Build Status](https://travis-ci.org/ly-components/react-dyn-tabs.png)](https://travis-ci.org/ly-components/react-dyn-tabs)
2+
13
# react-dyn-tabs
24

35
React Dynamic Tabs with full API
46

5-
> _Support react >= `v16.8.0`_
6-
77
### [Demo](https://dev-javascript.github.io/react-dyn-tabs/)
88

99
## Features

package-lock.json

Lines changed: 50 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yarn.lock

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3571,6 +3571,19 @@ fs.realpath@^1.0.0:
35713571
resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz"
35723572
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
35733573

3574+
fsevents@^1.2.7:
3575+
version "1.2.13"
3576+
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.13.tgz#f325cb0455592428bcf11b383370ef70e3bfcc38"
3577+
integrity sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==
3578+
dependencies:
3579+
bindings "^1.5.0"
3580+
nan "^2.12.1"
3581+
3582+
fsevents@^2.1.2, fsevents@~2.3.1, fsevents@~2.3.2:
3583+
version "2.3.3"
3584+
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6"
3585+
integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==
3586+
35743587
function-bind@^1.1.1:
35753588
version "1.1.1"
35763589
resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz"
@@ -5317,6 +5330,11 @@ [email protected]:
53175330
resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz"
53185331
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
53195332

5333+
nan@^2.12.1:
5334+
version "2.19.0"
5335+
resolved "https://registry.yarnpkg.com/nan/-/nan-2.19.0.tgz#bb58122ad55a6c5bc973303908d5b16cfdd5a8c0"
5336+
integrity sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==
5337+
53205338
nanomatch@^1.2.9:
53215339
version "1.2.13"
53225340
resolved "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz"

0 commit comments

Comments
 (0)