Skip to content

feat: make twitter client be optional #4797

feat: make twitter client be optional

feat: make twitter client be optional #4797

Workflow file for this run

name: Run Jest testing suite
on:
workflow_dispatch:
push:
branches:
- development
pull_request:
env:
NODE_ENV: "test"
TWITTER_API_KEY: "<twitter_api_key>"
TWITTER_API_KEY_SECRET: "<twitter_api_secret>"
TWITTER_ACCESS_TOKEN: "<twitter_access_token>"
TWITTER_ACCESS_TOKEN_SECRET: "<twitter_access_token_secret>"
DEVPOOL_OWNER_NAME: "ubiquity"
DEVPOOL_REPO_NAME: "devpool-directory"
jobs:
testing:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v4
with:
node-version: "20.10.0"
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: Jest With Coverage
run: yarn install --immutable --immutable-cache --check-cache && yarn test
- name: Add Jest Report to Summary
if: always()
run: echo "$(cat test-dashboard.md)" >> $GITHUB_STEP_SUMMARY