diff --git a/.github/workflows/playwright.yaml b/.github/workflows/playwright.yaml index b0f110a..cda3d60 100644 --- a/.github/workflows/playwright.yaml +++ b/.github/workflows/playwright.yaml @@ -10,7 +10,8 @@ jobs: strategy: matrix: tutorial: - - "tests/how-to-test-contracts.spec.ts" + - "tests/erc20-paymaster.spec.ts" + - "tests/how-to-test-contracts.spec.ts" steps: - uses: actions/checkout@v4 @@ -21,4 +22,9 @@ jobs: - name: Install Playwright Browsers run: bun playwright install chromium --with-deps - name: Run test for ${{ matrix.tutorial }} - run: bun test:github ${{ matrix.tutorial }} + run: | + export TERM=xterm-256color + export COLUMNS=80 + export LINES=24 + script -q -c "bun test:github ${{ matrix.tutorial }}" + diff --git a/.husky/commit-msg b/.husky/commit-msg index 9e35954..9701dfe 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,3 +1,2 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" + bunx --no-install commitlint --edit "$1" diff --git a/.husky/pre-commit b/.husky/pre-commit index 93f8566..84aec53 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,3 +1,2 @@ -#!/usr/bin/env sh -. "$(dirname "$0")/_/husky.sh" + bun lint-staged diff --git a/.lintstagedrc.yml b/.lintstagedrc.yml index 62c9d45..47a1035 100644 --- a/.lintstagedrc.yml +++ b/.lintstagedrc.yml @@ -2,7 +2,7 @@ - prettier --list-different - eslint '*.md': - - cspell lint --file - markdownlint-cli2 + - cspell lint --quiet --no-must-find-files --files '*.{json,yml}': - prettier --list-different diff --git a/app.vue b/app.vue index 90bf660..37dc731 100644 --- a/app.vue +++ b/app.vue @@ -15,17 +15,17 @@ useHead({ }, }); +const seoDescription = + 'Build together with the ZKsync Community. Learn how to build amazing smart contracts and dApps on ZKsync Era.'; + useSeoMeta({ titleTemplate: `%s - ${seo?.siteName}`, ogSiteName: seo?.siteName, ogUrl: 'https://code.zksync.io', - description: - 'Build together with the ZKsync Community. Learn how to build amazing smart contracts and dApps on ZKsync Era.', - ogDescription: - 'Build together with the ZKsync Community. Learn how to build amazing smart contracts and dApps on ZKsync Era.', + description: seoDescription, + ogDescription: seoDescription, twitterTitle: `%s`, - twitterDescription: - 'Build together with the ZKsync Community. Learn how to build amazing smart contracts and dApps on ZKsync Era.', + twitterDescription: seoDescription, twitterCard: 'summary_large_image', twitterSite: '@zksync', twitterCreator: '@ZKsyncDevs', diff --git a/components/IconOrbit.vue b/components/IconOrbit.vue index b27d17b..0bc55de 100644 --- a/components/IconOrbit.vue +++ b/components/IconOrbit.vue @@ -138,16 +138,7 @@ -