Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions .circleci/config.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on:
push:
branches:
- master
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7

- uses: actions/setup-node@v7
with:
node-version: 22
cache: yarn

- run: yarn install --frozen-lockfile

- run: yarn lint

- run: yarn test:ci

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/lcov.info
fail_ci_if_error: true
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0

- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version: 20
node-version: 22
cache: yarn

- run: yarn install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .jsdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"encoding": "utf8",
"private": false,
"recurse": true,
"template": "./node_modules/minami"
"template": "templates/default"
}
}
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# react-native-azure-auth

[![Maintainers Wanted](https://img.shields.io/badge/maintainers-wanted-red.svg)](https://github.com/pickhardt/maintainers-wanted)
[![CircleCI](https://circleci.com/gh/vmurin/react-native-azure-auth.svg?style=svg)](https://circleci.com/gh/vmurin/react-native-azure-auth)
[![CI](https://github.com/vmurin/react-native-azure-auth/actions/workflows/ci.yml/badge.svg)](https://github.com/vmurin/react-native-azure-auth/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/vmurin/react-native-azure-auth/branch/master/graph/badge.svg)](https://codecov.io/gh/vmurin/react-native-azure-auth)

React Native library implementing Azure AD OAuth2 API

Expand Down
9 changes: 9 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
coverage:
status:
project:
default:
target: auto
threshold: 1%
patch:
default:
target: auto
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"types": "types/index.d.ts",
"scripts": {
"test": "jest",
"test:ci": "jest --coverage && codecov -t ${CODECOV_TOKEN}",
"test:ci": "jest --coverage",
"lint": "eslint .",
"jsdoc:generate": "jsdoc --configure .jsdoc.json --verbose",
"release:clean": "node scripts/cleanup.js",
Expand Down Expand Up @@ -35,18 +35,16 @@
"@eslint/object-schema": "^2.1.4",
"@types/jest": "^24.0.15",
"babel-jest": "^29.7.0",
"codecov": "^3.5.0",
"eslint": "^8.57.0",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-react": "^7.34.2",
"faker": "^4.1.0",
"fetch-mock": "^7.3.3",
"jest": "^29.7.0",
"jetifier": "^1.6.6",
"jsdoc": "^3.6.2",
"jsdoc-to-markdown": "^5.0.0",
"jsdoc": "^4.0.5",
"metro-react-native-babel-preset": "^0.54.1",
"minami": "^1.2.3",
"node-fetch": "^2.7.0",
"prop-types": "^15.7.2"
},
"dependencies": {
Expand Down
Loading