Skip to content

Commit a9aa6dc

Browse files
authored
Merge pull request #795 from devrnt/maintenance
Maintenance
2 parents 6d6e0c3 + cd1103f commit a9aa6dc

File tree

17 files changed

+13020
-10153
lines changed

17 files changed

+13020
-10153
lines changed

.eslintrc.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,16 @@ jobs:
1010
runs-on: ubuntu-20.04
1111
strategy:
1212
matrix:
13-
node-version: [18.16]
13+
node-version: [22.13.1]
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- name: Install pnpm
19-
uses: pnpm/action-setup@v2
20-
with:
21-
version: 8.6.5
19+
uses: pnpm/action-setup@v3
2220

2321
- name: Use Node ${{ matrix.node-version }}
24-
uses: actions/setup-node@v3
22+
uses: actions/setup-node@v4
2523
with:
2624
node-version: ${{ matrix.node-version }}
2725
cache: 'pnpm'
@@ -36,4 +34,4 @@ jobs:
3634
uses: peaceiris/actions-gh-pages@v3
3735
with:
3836
github_token: ${{ secrets.GITHUB_TOKEN }}
39-
publish_dir: ./apps/playground/dist
37+
publish_dir: ./apps/playground/dist

.github/workflows/e2e-testing.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,17 @@ jobs:
55
runs-on: ubuntu-20.04
66
strategy:
77
matrix:
8-
node-version: [18]
8+
node-version: [22.13.1]
99

1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313

1414
- name: Install pnpm
15-
uses: pnpm/action-setup@v2
16-
with:
17-
version: 8.6.5
15+
uses: pnpm/action-setup@v3
1816

1917
- name: Use Node ${{ matrix.node-version }}
20-
uses: actions/setup-node@v3
18+
uses: actions/setup-node@v4
2119
with:
2220
node-version: ${{ matrix.node-version }}
2321
cache: 'pnpm'
@@ -32,17 +30,13 @@ jobs:
3230
run: ./node_modules/cypress/bin/cypress install
3331

3432
- name: Cypress run
35-
uses: cypress-io/github-action@v4
33+
uses: cypress-io/github-action@v6
3634
with:
3735
install: false
38-
# build playground
39-
# build: pnpm dev:playground
40-
# start playground
4136
start: pnpm dev
4237
command: pnpm e2e
43-
# FIXME: this breaks it
44-
# wait-on: 'http://localhost:5173'
45-
# project: /packages/react-use-intercom
38+
wait-on: 'http://localhost:5173'
39+
project: ./apps/playground
4640

4741
# after the test run completes
4842
# store videos and any screenshots
@@ -51,7 +45,7 @@ jobs:
5145
# Alternative: create and commit an empty cypress/screenshots folder
5246
# to always have something to upload
5347
- name: Upload Cypress artifacts
54-
uses: actions/upload-artifact@v3
48+
uses: actions/upload-artifact@v4
5549
if: failure()
5650
with:
5751
name: cypress-screenshots

.github/workflows/main.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,16 @@ jobs:
55
runs-on: ubuntu-20.04
66
strategy:
77
matrix:
8-
node-version: [18.16]
9-
8+
node-version: [22.13.1]
109
steps:
1110
- name: Checkout
12-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1312

1413
- name: Install pnpm
15-
uses: pnpm/action-setup@v2
16-
with:
17-
version: 8.6.5
14+
uses: pnpm/action-setup@v3
1815

1916
- name: Use Node ${{ matrix.node-version }}
20-
uses: actions/setup-node@v3
17+
uses: actions/setup-node@v4
2118
with:
2219
node-version: ${{ matrix.node-version }}
2320
cache: 'pnpm'

.github/workflows/pull-request.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,17 @@ jobs:
55
runs-on: ubuntu-20.04
66
strategy:
77
matrix:
8-
node-version: [18.16]
8+
node-version: [22.13.1]
99

1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313

1414
- name: Install pnpm
15-
uses: pnpm/action-setup@v2
16-
with:
17-
version: 8.6.5
15+
uses: pnpm/action-setup@v3
1816

1917
- name: Use Node ${{ matrix.node-version }}
20-
uses: actions/setup-node@v3
18+
uses: actions/setup-node@v4
2119
with:
2220
node-version: ${{ matrix.node-version }}
2321
cache: 'pnpm'

.github/workflows/release.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,21 @@ jobs:
1313
runs-on: ubuntu-20.04
1414
strategy:
1515
matrix:
16-
node-version: [18.16]
16+
node-version: [22.13.1]
1717

1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

2222
- name: Install pnpm
23-
uses: pnpm/action-setup@v2
24-
with:
25-
version: 8.6.5
23+
uses: pnpm/action-setup@v3
2624

2725
- name: Use Node ${{ matrix.node-version }}
28-
uses: actions/setup-node@v3
26+
uses: actions/setup-node@v4
2927
with:
3028
node-version: ${{ matrix.node-version }}
3129
cache: 'pnpm'
32-
30+
3331
- name: Install dependencies
3432
run: pnpm install --frozen-lockfile
3533

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.16.0
1+
22.13.1

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
1. Install pnpm:
66

77
```sh
8-
npm install -g pnpm@8
8+
npm install -g pnpm@10.2
99
```
1010

1111
2. Fork and clone the repository

apps/playground/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"@types/react-router-dom": "^5.1.5",
2525
"@types/styled-components": "^5.1.2",
2626
"@vitejs/plugin-react": "^3.0.1",
27-
"cypress": "^12.12.0",
28-
"typescript": "^4.9.5",
27+
"cypress": "^14.0.0",
28+
"typescript": "^5.7.3",
2929
"vite": "^4.0.4"
3030
}
3131
}

apps/playground/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"strict": true,
1111
"forceConsistentCasingInFileNames": true,
1212
"module": "ESNext",
13-
"moduleResolution": "Node",
13+
"moduleResolution": "bundler",
1414
"resolveJsonModule": true,
1515
"isolatedModules": true,
1616
"noEmit": true,

0 commit comments

Comments
 (0)