Update Providers Status #447
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: 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 |