Skip to content

Fix ReferenceError: Cannot access 'TwitterApiReadWrite' before initia… #493

Fix ReferenceError: Cannot access 'TwitterApiReadWrite' before initia…

Fix ReferenceError: Cannot access 'TwitterApiReadWrite' before initia… #493

Workflow file for this run

name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
max-parallel: 1 # the streaming API can be called only once at a time
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
- run: npm test
env:
CONSUMER_TOKEN: ${{ secrets.CONSUMER_TOKEN }}
CONSUMER_SECRET: ${{ secrets.CONSUMER_SECRET }}
OAUTH_TOKEN: ${{ secrets.OAUTH_TOKEN }}
OAUTH_SECRET: ${{ secrets.OAUTH_SECRET }}