Skip to content

Commit

Permalink
chore: pnpm 8 and ci actions upgrade (#1173)
Browse files Browse the repository at this point in the history
* chore: pnpm 8 and ci actions upgrade

* fix: lint errors
  • Loading branch information
DanielSinclair committed Apr 19, 2023
1 parent 4bbaac1 commit fd5bd16
Show file tree
Hide file tree
Showing 7 changed files with 7,502 additions and 7,059 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on: [pull_request, push]

env:
pnpm: 7
pnpm: 8

jobs:
tests:
Expand All @@ -15,13 +15,13 @@ jobs:
node: [lts/*]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Cache .pnpm-store
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-node${{ matrix.node }}-${env.pnpm}-${{ hashFiles('**/pnpm-lock.yaml') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main

env:
pnpm: 7
pnpm: 8

concurrency: ${{ github.workflow }}-${{ github.ref }}

Expand All @@ -22,18 +22,18 @@ jobs:

steps:
- name: Checkout Repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}

- name: Cache .pnpm-store
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-node${{ matrix.node }}-${env.pnpm}-${{ hashFiles('**/pnpm-lock.yaml') }}
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ access = public
enable-pre-post-scripts = true
package-lock = true
strict-peer-dependencies = false
dedupe-peer-dependents = true
10 changes: 5 additions & 5 deletions packages/example/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ import {
midnightTheme,
RainbowKitProvider,
} from '@rainbow-me/rainbowkit';
import {
GetSiweMessageOptions,
RainbowKitSiweNextAuthProvider,
} from '@rainbow-me/rainbowkit-siwe-next-auth';
import {
argentWallet,
bitskiWallet,
Expand All @@ -27,10 +23,14 @@ import {
trustWallet,
zerionWallet,
} from '@rainbow-me/rainbowkit/wallets';
import {
GetSiweMessageOptions,
RainbowKitSiweNextAuthProvider,
} from '@rainbow-me/rainbowkit-siwe-next-auth';

import { SessionProvider, signOut } from 'next-auth/react';
import type { AppProps } from 'next/app';
import Head from 'next/head';
import { SessionProvider, signOut } from 'next-auth/react';
import React, { useEffect, useState } from 'react';
import {
configureChains,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,16 @@ export interface RainbowKitProviderProps {
const defaultTheme = lightTheme();

export function RainbowKitProvider({
appInfo,
avatar,
chains,
initialChain,
id,
theme = defaultTheme,
children,
appInfo,
showRecentTransactions = false,
coolMode = false,
avatar,
id,
initialChain,
modalSize = ModalSizeOptions.WIDE,
showRecentTransactions = false,
theme = defaultTheme,
}: RainbowKitProviderProps) {
usePreloadImages();

Expand Down
Loading

2 comments on commit fd5bd16

@vercel
Copy link

@vercel vercel bot commented on fd5bd16 Apr 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on fd5bd16 Apr 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.