chore(deps): update dependency eslint to v9 #4606
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Quality | |
on: | |
push: | |
pull_request: | |
jobs: | |
code-quality: | |
timeout-minutes: 60 | |
runs-on: ubuntu-22.04 | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
DIRECTUS_API_KEY: ${{ secrets.DIRECTUS_API_KEY }} | |
PUBLIC_WALLET_CONNECT_PROJECT_ID: ${{ secrets.PUBLIC_WALLET_CONNECT_PROJECT_ID }} | |
OPEN_SEA_API_KEY: ${{ secrets.OPEN_SEA_API_KEY }} | |
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }} | |
NFTSCAN_API_KEY: ${{ secrets.NFTSCAN_API_KEY }} | |
VERCEL_URL: 'empty' | |
PUBLIC_WEB3INBOX_ALL_APPS: false | |
TURBO_REMOTE_ONLY: true | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
with: | |
fetch-depth: 0 | |
- run: corepack enable | |
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 | |
with: | |
node-version: '20' | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm i | |
- name: Install Playwright Browsers | |
run: pnpm exec playwright install --with-deps | |
- name: Lint | |
run: pnpm lint | |
- name: Test | |
run: pnpm test | |
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4 | |
if: always() | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 | |
deploy-workers: | |
needs: code-quality | |
runs-on: ubuntu-latest | |
name: Deploy Workers | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
with: | |
fetch-depth: 0 | |
- run: corepack enable | |
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 | |
with: | |
node-version: '20' | |
cache: 'pnpm' | |
- name: Deploy @sni/api | |
uses: cloudflare/wrangler-action@f84a562284fc78278ff9052435d9526f9c718361 # v3 | |
with: | |
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
workingDirectory: './apps/api' | |
packageManager: 'pnpm' |