Skip to content

Commit

Permalink
Remove duplicated ci task
Browse files Browse the repository at this point in the history
  • Loading branch information
JunichiSugiura committed Aug 21, 2024
1 parent 38182fa commit 15a0247
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 30 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,25 +65,3 @@ jobs:
run_install: false
- run: pnpm install --frozen-lockfile
- run: pnpm lint

ts-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- uses: actions/cache@v4
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- run: corepack enable pnpm
- uses: pnpm/action-setup@v4
id: pnpm-install
with:
version: 9.7.0
run_install: false
- run: pnpm install --frozen-lockfile
- run: pnpm lint
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,16 @@ const ETH_TOKEN_ADDRESS =
// const PAPER_TOKEN_ADDRESS =
// "0x0410466536b5ae074f7fea81e5533b8134a9fa08b3dd077dd9db08f64997d113";

export const KEYCHAIN_URL = !process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL ||
export const KEYCHAIN_URL =
!process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL ||
process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL.split(".")[0] ===
"cartridge-starknet-react-next"
? process.env.XFRAME_URL
: "https://" +
(process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL ?? "").replace(
"cartridge-starknet-react-next",
"keychain",
);
"cartridge-starknet-react-next"
? process.env.XFRAME_URL
: "https://" +
(process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL ?? "").replace(
"cartridge-starknet-react-next",
"keychain",
);

const cartridge = new CartridgeConnector({
policies: [
Expand Down

0 comments on commit 15a0247

Please sign in to comment.