Skip to content

refactor: remove console #726

refactor: remove console

refactor: remove console #726

Workflow file for this run

name: ci
on: ["push", "pull_request"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22.6.0"
cache: "yarn"
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Setup environment variables
run: |
echo "NEXT_PUBLIC_FIREBASE_API_KEY=${{ secrets.NEXT_PUBLIC_FIREBASE_API_KEY }}" >> $GITHUB_ENV
echo "NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=${{ secrets.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN }}" >> $GITHUB_ENV
echo "NEXT_PUBLIC_FIREBASE_PROJECT_ID=${{ secrets.NEXT_PUBLIC_FIREBASE_PROJECT_ID }}" >> $GITHUB_ENV
echo "NEXT_PUBLIC_FIREBASE_APP_ID=${{ secrets.NEXT_PUBLIC_FIREBASE_APP_ID }}" >> $GITHUB_ENV
echo "NEXT_PUBLIC_API_BASE_URL=${{ secrets.NEXT_PUBLIC_API_BASE_URL }}" >> $GITHUB_ENV
echo "NEXT_PUBLIC_BUGSNAG_API_KEY=${{ secrets.NEXT_PUBLIC_BUGSNAG_API_KEY }}" >> $GITHUB_ENV
echo "NEXT_PUBLIC_SHOW_LANGUAGE_SELECTOR=${{ secrets.NEXT_PUBLIC_SHOW_LANGUAGE_SELECTOR }}" >> $GITHUB_ENV
echo "NEXT_PUBLIC_DISCORD_CLIENT_ID=${{ secrets.NEXT_PUBLIC_DISCORD_CLIENT_ID }}" >> $GITHUB_ENV
echo "NEXT_PUBLIC_DISCORD_CALLBACK_URL=${{ secrets.NEXT_PUBLIC_DISCORD_CALLBACK_URL }}" >> $GITHUB_ENV
echo "NEXT_PUBLIC_DISCORD_OAUTH_BASE_URL=${{ secrets.NEXT_PUBLIC_DISCORD_OAUTH_BASE_URL }}" >> $GITHUB_ENV
echo "NEXT_PUBLIC_DISCORD_SCOPE=${{ secrets.NEXT_PUBLIC_DISCORD_SCOPE }}" >> $GITHUB_ENV
echo "NEXT_PUBLIC_GOOGLE_TRANSLATE_API_KEY=${{ secrets.NEXT_PUBLIC_GOOGLE_TRANSLATE_API_KEY }}" >> $GITHUB_ENV
echo "NEXT_PUBLIC_BLOCK_EXPLORER_URL=${{ secrets.NEXT_PUBLIC_BLOCK_EXPLORER_URL }}" >> $GITHUB_ENV
echo "NEXT_PUBLIC_IPFS_URL=${{ secrets.NEXT_PUBLIC_IPFS_URL }}" >> $GITHUB_ENV
- name: Run tests
run: yarn test