Update Node version and add manual trigger for workflow
This commit is contained in:
parent
0b47d3cbcd
commit
637ddd292f
1 changed files with 2 additions and 1 deletions
3
.github/workflows/import.yaml
vendored
3
.github/workflows/import.yaml
vendored
|
@ -1,6 +1,7 @@
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * *'
|
- cron: '0 0 * * *'
|
||||||
|
workflow_dispatch: ~
|
||||||
|
|
||||||
name: Import
|
name: Import
|
||||||
|
|
||||||
|
@ -13,7 +14,7 @@ jobs:
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '10'
|
node-version: '16'
|
||||||
- run: |
|
- run: |
|
||||||
npm install
|
npm install
|
||||||
npm run recent
|
npm run recent
|
||||||
|
|
Reference in a new issue