Nightly #325
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: Nightly | |
on: | |
schedule: | |
- cron: "0 10 * * *" | |
workflow_dispatch: | |
jobs: | |
integrations: | |
name: Update Integrations | |
if: github.repository_owner == 'withastro' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code using Git | |
uses: actions/checkout@v4 | |
- name: Setup Node.js & install dependencies | |
uses: ./.github/actions/setup-node-pnpm | |
- name: Install dev dependencies | |
run: pnpm install | |
- name: Search NPM for new and deprecated integrations | |
run: pnpm run update:integrations | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Format generated files | |
run: pnpm lint | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "ci: safe update for existing themes & integrations" |