Skip to content

Commit

Permalink
core updated
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalune committed Jul 13, 2024
1 parent bd1f4a0 commit 13e5262
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: npm install
- name: Deploy docs
run: |
git config --global user.name 'venatbot'
git config --global user.email 'venatbot@protonmail.com'
git remote set-url origin 'https://venatbot:${{ secrets.GH_TOKEN }}@github.com/the-convocation/twitter-scraper.git'
git config --global user.name 'lalalune'
git config --global user.email 'autonomousresearcher@gmail.com'
git remote set-url origin 'https://lalalune:${{ secrets.GH_TOKEN }}@github.com/RubyResearch/agent-twitter-client.git'
npm run docs:deploy
1 change: 1 addition & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
TWITTER_USERNAME: ${{ secrets.TWITTER_USERNAME }}
TWITTER_PASSWORD: ${{ secrets.TWITTER_PASSWORD }}
TWITTER_EMAIL: ${{ secrets.TWITTER_EMAIL }}
TWITTER_COOKIES: ${{ secrets.TWITTER_COOKIES }}
run: npm run test
- name: Build
run: npm run build
2 changes: 1 addition & 1 deletion src/tweets.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ test('scraper can get tweet thread', async () => {

test('sendTweet successfully sends a tweet', async () => {
const scraper = await getScraper();
const draftText = 'This is a test tweet';
const draftText = 'Core updated on ' + Date.now().toString();

const success = await scraper.sendTweet(draftText);

Expand Down

0 comments on commit 13e5262

Please sign in to comment.