fix(deps): update dependency graphql-request to v7 - autoclosed #2490
Workflow file for this run
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: dash CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
types: [opened, labeled, unlabeled, synchronize] | |
paths: | |
- "apps/dash/**" | |
- "packages/**" | |
- ".github/workflows/dash-ci.yml" | |
- "package.json" | |
env: | |
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }} | |
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }} | |
AUTH_SECRET: ${{ secrets.AUTH_SECRET }} | |
AUTH_URL: http://localhost:3001 | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
DATABASE_URL: ${{ secrets.DATABASE_URL }} | |
NODE_ENV: test | |
BETA_DATABASE_URL: ${{ secrets.BETA_DATABASE_URL }} | |
ADMIN_ID: ${{ secrets.ADMIN_ID }} | |
BETA_ADMIN_ID: ${{ secrets.BETA_ADMIN_ID }} | |
NEXT_PUBLIC_ENV: beta | |
SPOTIFY_CLIENT_ID: ${{ secrets.SPOTIFY_CLIENT_ID }} | |
SPOTIFY_CLIENT_SECRET: ${{ secrets.SPOTIFY_CLIENT_SECRET }} | |
SPOTIFY_REDIRECT_URI: http://localhost:3001 | |
NODE_VERSION: 21 | |
PNPM_VERSION: 9.1.0 | |
jobs: | |
build: | |
name: Build and Test | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
if: ${{ contains(github.event.pull_request.labels.*.name, 'area:dash') || contains(github.event.pull_request.labels.*.name, 'dash:enhancement') || contains(github.event.pull_request.labels.*.name, 'area-dash') }} | |
steps: | |
- name: "🐙️ Check out code" | |
uses: actions/checkout@v4 | |
- name: "💽️ Init" | |
id: dash-init | |
uses: Chia1104/chia-stack/.github/actions/init-pnpm@main | |
with: | |
NODE_VERSION: ${{ env.NODE_VERSION }} | |
PNPM_VERSION: ${{ env.PNPM_VERSION }} | |
- name: "📦 Install" | |
id: dash-install | |
uses: Chia1104/chia-stack/.github/actions/pnpm-install@main | |
- name: "📦 Next.js cache" | |
uses: actions/cache@v4 | |
with: | |
path: ${{ github.workspace }}/apps/dash/.next/cache | |
key: ${{ runner.os }}-${{ runner.node }}-${{ hashFiles('**/pnpm-lock.yaml') }}-nextjs | |
- name: "🏗️ Build" | |
uses: Chia1104/chia-stack/.github/actions/pnpm-build@main | |
with: | |
BUILD_COMMAND: "build --filter dash..." | |
TURBO_TEAM: ${{ env.TURBO_TEAM }} | |
TURBO_TOKEN: ${{ env.TURBO_TOKEN }} | |
- name: "🚨️ ESLint, Type checking, Unit tests" | |
id: dash-lint-test | |
uses: Chia1104/chia-stack/.github/actions/lint-test@main | |
with: | |
COMMAND: "--filter dash..." | |
TURBO_TEAM: ${{ env.TURBO_TEAM }} | |
TURBO_TOKEN: ${{ env.TURBO_TOKEN }} |