Update package-lock.json #132
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: Update package-lock.json | |
| on: | |
| schedule: | |
| - cron: '0 15 * * 3' # Wed 11:00AM EDT. 10:00AM EST. | |
| - cron: '0 6 1 * *' # 1st of each month 2:00 AM EDT/1:00 AM EST | |
| workflow_dispatch: # manual trigger | |
| jobs: | |
| Update: | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: Brightspace/third-party-actions@actions/checkout | |
| with: | |
| token: ${{ secrets.DEPENDENCIES_TOKEN }} | |
| - uses: Brightspace/third-party-actions@actions/setup-node | |
| with: | |
| node-version-file: .nvmrc | |
| - name: Update package-lock.json | |
| uses: BrightspaceUI/actions/update-package-lock@main | |
| with: | |
| AUTO_MERGE_METHOD: squash | |
| AUTO_MERGE_TOKEN: ${{ secrets.DEPENDENCIES_TOKEN }} | |
| APPROVAL_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| DEFAULT_BRANCH: master | |
| GITHUB_TOKEN: ${{ secrets.DEPENDENCIES_TOKEN }} |