Skip to content

Update Providers Status #825

Update Providers Status

Update Providers Status #825

name: Update Providers Status
on:
schedule:
- cron: '0 10 * * *'
workflow_dispatch:
jobs:
update-providers-status:
runs-on: ubuntu-latest
name: run-script
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
- name: install dependencies
run: |
npm install
npm install -g ts-node
npm install -g typescript
npm update
npm run check-providers
- name: Delete package-lock.json
run: rm package-lock.json
- name: Commit
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "chore: generate providers status"
git push --no-verify