Update _update-api.yml

This commit is contained in:
Aleksandr Statciuk 2022-02-28 21:40:12 +03:00
parent 19007781d7
commit 0f572210c1

View file

@ -4,10 +4,15 @@ on:
schedule: schedule:
- cron: '0 12 * * *' - cron: '0 12 * * *'
jobs: jobs:
check: update:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v2
if: ${{ !env.ACT }}
with:
node-version: '14'
cache: 'npm'
- run: npm install - run: npm install
- run: npm run api:update - run: npm run api:update
- uses: tibdex/github-app-token@v1 - uses: tibdex/github-app-token@v1