Update Node version and add manual trigger for workflow

This commit is contained in:
mtkennerly 2022-06-30 23:40:44 +08:00
parent 0b47d3cbcd
commit 637ddd292f
No known key found for this signature in database
GPG key ID: E764BE00BE6E6408

View file

@ -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