Skip to content

Commit 7a337fe

Browse files
authored
Merge pull request #96 from Doko-Demo-Doa/main
fix: upgrade checkout and node actions with proper versioning
2 parents 60807e3 + b1518c5 commit 7a337fe

File tree

7 files changed

+301
-301
lines changed

7 files changed

+301
-301
lines changed

.github/actions/setup/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ runs:
55
using: composite
66
steps:
77
- name: Setup Node.js
8-
uses: actions/setup-node@v3
8+
uses: actions/setup-node@v4
99
with:
10-
node-version-file: .nvmrc
10+
node-version: lts/*
1111

1212
- name: Cache dependencies
1313
id: yarn-cache

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616

1717
- name: Setup
1818
uses: ./.github/actions/setup
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
3131

3232
- name: Setup
3333
uses: ./.github/actions/setup
@@ -39,7 +39,7 @@ jobs:
3939
runs-on: ubuntu-latest
4040
steps:
4141
- name: Checkout
42-
uses: actions/checkout@v3
42+
uses: actions/checkout@v4
4343

4444
- name: Setup
4545
uses: ./.github/actions/setup
@@ -51,7 +51,7 @@ jobs:
5151
runs-on: ubuntu-latest
5252
steps:
5353
- name: Checkout
54-
uses: actions/checkout@v3
54+
uses: actions/checkout@v4
5555

5656
- name: Setup
5757
uses: ./.github/actions/setup

.yarn/releases/yarn-4.5.3.cjs renamed to .yarn/releases/yarn-4.6.0.cjs

Lines changed: 287 additions & 287 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ nmHoistingLimits: workspaces
66

77
nodeLinker: node-modules
88

9-
yarnPath: .yarn/releases/yarn-4.5.3.cjs
9+
yarnPath: .yarn/releases/yarn-4.6.0.cjs

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div align="center">
22
<h1 align="center">React Native Awesome Slider</h1>
33

4-
[![Reanimated v2 version](https://img.shields.io/github/package-json/v/alantoa/react-native-awesome-slider/master?label=Reanimated%20v2&style=flat-square)](https://www.npmjs.com/package/react-native-awesome-slider) [![npm](https://img.shields.io/npm/l/react-native-awesome-slider?style=flat-square)](https://www.npmjs.com/package/react-native-awesome-slider) [![npm](https://img.shields.io/badge/types-included-blue?style=flat-square)](https://www.npmjs.com/package/react-native-awesome-slider) [![Documentation](https://img.shields.io/badge/docs-slider.0xalt.xyz-blue?style=flat-square)](https://slider.0xalt.xyz/)
4+
[![Reanimated v3 version](https://img.shields.io/github/package-json/v/alantoa/react-native-awesome-slider/master?label=Reanimated%20v2&style=flat-square)](https://www.npmjs.com/package/react-native-awesome-slider) [![npm](https://img.shields.io/npm/l/react-native-awesome-slider?style=flat-square)](https://www.npmjs.com/package/react-native-awesome-slider) [![npm](https://img.shields.io/badge/types-included-blue?style=flat-square)](https://www.npmjs.com/package/react-native-awesome-slider) [![Documentation](https://img.shields.io/badge/docs-slider.0xalt.xyz-blue?style=flat-square)](https://slider.0xalt.xyz/)
55

66
<p align="center">A versatile, responsive react native and web slider component.</p>
77
<img src="./assets/slider.png" width="400" alt="slider" />

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "A versatile, responsive <Slider /> component for React Native and Web.",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",
7-
"types": "lib/typescript/src/index.d.ts",
7+
"types": "lib/typescript/index.d.ts",
88
"react-native": "src/index",
99
"source": "src/index",
1010
"files": [
@@ -27,8 +27,9 @@
2727
"release": "release-it",
2828
"lint": "eslint \"**/*.{js,ts,tsx}\"",
2929
"fix": "eslint \"**/*.{js,ts,tsx}\" --fix",
30-
"test": "jest",
31-
"bootstrap": "yarn example && yarn install"
30+
"test": "jest --passWithNoTests",
31+
"bootstrap": "yarn example && yarn install",
32+
"typecheck": "tsc --project tsconfig.build.json --noEmit"
3233
},
3334
"keywords": [
3435
"react-native",
@@ -84,7 +85,7 @@
8485
"workspaces": [
8586
"example"
8687
],
87-
"packageManager": "yarn@4.5.3",
88+
"packageManager": "yarn@4.6.0",
8889
"engines": {
8990
"node": ">= 18.0.0"
9091
},

tsconfig.build.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
21
{
32
"extends": "./tsconfig",
4-
"exclude": ["example"]
3+
"exclude": ["example", "docs"]
54
}

0 commit comments

Comments
 (0)