check-update #131
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: check-update | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 9 * * 1,3,5" # JSTで毎週月・水・金曜18:00に実行 | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
env: | |
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .node-version | |
cache: "npm" | |
- name: setup node modules | |
run: npm install | |
- name: run script | |
run: npm run check-update |