Skip to content

Changeset Watch

Changeset Watch #954

name: Changeset Watch
on:
schedule:
- cron: '0 16 * * *' # at 4am (it's in UTC)
workflow_dispatch:
jobs:
changesetWatch:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: ⏬ Checkout code
uses: actions/checkout@v3
- name: 🔢 Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: ⏬ Install
run: |
npm install
- name: 🔎 Run ChangesetWatch script
run: |
mkdir -p data
npm run changesetWatch
env:
GOOGLE_REFRESH_TOKEN: ${{ secrets.GOOGLE_REFRESH_TOKEN }}
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }}