Stop committing lock files; add weekly CI safety net (#1457) (#1472) #133
This file contains hidden or 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: hosting-godot-html5-template | |
| on: | |
| schedule: | |
| - cron: "30 6 * * 1" # weekly build to catch dependency drift (lock files are gitignored) | |
| push: | |
| branches: [master] | |
| pull_request: | |
| paths: | |
| - hosting/godot-html5-template/** | |
| - .github/workflows/hosting-godot-html5-template-example.yml | |
| - .github/workflows/_run-example.yml | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| hosting-godot-html5-template: | |
| uses: ./.github/workflows/_run-example.yml | |
| with: | |
| language: all | |
| working-directory: hosting/godot-html5-template | |
| run: | | |
| # Brotli-compressing the large Godot HTML5 asset bundle can exceed the | |
| # default 60s plugin compute limit; raise it for the asset sync. | |
| export ICP_CLI_PLUGIN_COMPUTE_LIMIT_SECS=300 | |
| icp network start -d | |
| icp deploy |