mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MNT Use update-js action
This commit is contained in:
parent
4e103143bf
commit
aa04bd7a6e
9
.github/workflows/update-js-deps.yml
vendored
9
.github/workflows/update-js-deps.yml
vendored
@ -1,9 +0,0 @@
|
|||||||
name: Update JS deps
|
|
||||||
on:
|
|
||||||
# Run on a schedule once per quarter
|
|
||||||
schedule:
|
|
||||||
- cron: '0 0 1 */3 *'
|
|
||||||
workflow_dispatch:
|
|
||||||
jobs:
|
|
||||||
ci:
|
|
||||||
uses: silverstripe/github-actions-ci-cd/.github/workflows/update-js-deps.yml@v0.1
|
|
17
.github/workflows/update-js.yml
vendored
Normal file
17
.github/workflows/update-js.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
name: Update JS
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
# Run on a schedule of once per quarter
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 1 */3 *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update-js:
|
||||||
|
name: Update JS
|
||||||
|
# Only run cron on the silverstripe account
|
||||||
|
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Update JS
|
||||||
|
uses: silverstripe/gha-update-js@v1
|
Loading…
Reference in New Issue
Block a user