From 0f572210c1c5c3851a2285db24281f412aa5c910 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 28 Feb 2022 21:40:12 +0300 Subject: [PATCH] Update _update-api.yml --- .github/workflows/_update-api.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/_update-api.yml b/.github/workflows/_update-api.yml index 369ed721..2aed84f6 100644 --- a/.github/workflows/_update-api.yml +++ b/.github/workflows/_update-api.yml @@ -4,10 +4,15 @@ on: schedule: - cron: '0 12 * * *' jobs: - check: + update: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + if: ${{ !env.ACT }} + with: + node-version: '14' + cache: 'npm' - run: npm install - run: npm run api:update - uses: tibdex/github-app-token@v1