feat: tweet edit information #279
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Node.js CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
schedule: | |
- cron: '37 22 * * 2' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [18.x, 20.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Yarn | |
run: npm install -g yarn | |
- name: Install | |
run: yarn install | |
- name: Test | |
env: | |
TWITTER_USERNAME: ${{ secrets.TWITTER_USERNAME }} | |
TWITTER_PASSWORD: ${{ secrets.TWITTER_PASSWORD }} | |
TWITTER_EMAIL: ${{ secrets.TWITTER_EMAIL }} | |
run: yarn test | |
- name: Build | |
run: yarn build |