ci(cache): npmキャッシュ漏れ対応 #77
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: External Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
schedule: | |
# NOTE: UTCなので9時間引く | |
# 毎週土曜日の午前9時に実行 | |
- cron: 0 0 * * 6 | |
workflow_dispatch: | |
jobs: | |
test-external: | |
name: Run External Tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .tool-versions | |
cache: npm | |
- run: npm ci | |
- uses: ./.github/actions/restore-feed-cache | |
- run: npm run test-external | |
- uses: ./.github/actions/save-feed-cache |