Skip to content

Commit

Permalink
MNT Use update-js action
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Jul 29, 2022
1 parent 09a742f commit 687f2de
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/update-js-deps.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/update-js.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 687f2de

Please sign in to comment.