BUB2 Polling Mechanism to Integrate Wikimedia Ecosystem #3
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
name: BUB2 Polling | |
run-name: BUB2 Polling Mechanism to Integrate Wikimedia Ecosystem | |
on: | |
schedule: | |
- cron: '*/10 * * * *' | |
jobs: | |
BUB2-Polling: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm i | |
- run: echo "${{ secrets.ENV_FILE }}" > .env | |
- run: node polling.js |