Update package-lock.json #34
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: Update package-lock.json | |
on: | |
schedule: | |
- cron: "30 12 * * 1-5" # Mon-Fri 8:30AM EDT. 7:30AM EST. | |
workflow_dispatch: # manual trigger | |
jobs: | |
update: | |
name: Update | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Brightspace/third-party-actions@actions/checkout | |
with: | |
token: ${{ secrets.PR_GITHUB_TOKEN }} | |
- uses: Brightspace/third-party-actions@actions/setup-node | |
with: | |
node-version-file: .nvmrc | |
cache: 'npm' | |
- name: Update package-lock.json | |
uses: BrightspaceUI/actions/update-package-lock@main | |
with: | |
AUTO_MERGE_METHOD: squash | |
AUTO_MERGE_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }} | |
APPROVAL_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }} |