Skip to content

chore: 🤖 extend test runner environment variables #4

chore: 🤖 extend test runner environment variables

chore: 🤖 extend test runner environment variables #4

Workflow file for this run

name: 💍 Tester runner
on:
workflow_dispatch:
push:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
UI__APP_URL: "https://staging.fleeksandbox.xyz"
SDK__GRAPHQL_API_URL: "https://graphql.service.staging.fleeksandbox.xyz/graphql"
SITE_SLUG_DOMAIN: "stg.on-fleek-test.app"
IPFS_GATEWAY_HOSTNAME: "gateway-ipfs.staging.fleeksandbox.xyz"
SDK__AUTH_APPS_URL: "https://auth-apps.service.staging.fleeksandbox.xyz"
SDK__IPFS__STORAGE_API_URL: "https://storage-ipfs.service.staging.fleeksandbox.xyz"
SDK__GRAPHQL_API_URL: "https://graphql.service.staging.fleeksandbox.xyz/graphql"

Check failure on line 19 in .github/workflows/test-runner.yml

View workflow run for this annotation

GitHub Actions / 💍 Tester runner

Invalid workflow file

The workflow is not valid. .github/workflows/test-runner.yml (Line: 19, Col: 7): 'SDK__GRAPHQL_API_URL' is already defined
SDK__UPLOAD_PROXY_API_URL: "https://uploads.service.staging.fleeksandbox.xyz"
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 7
run_install: false
- name: Update .npmrc with token
run: |
echo "//registry.npmjs.org/:_authToken=${{ env.NODE_AUTH_TOKEN }}" > .npmrc
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install
run: pnpm i
- name: Build CLI
run: pnpm build
- name: Run tests
run: |
pnpm test