Skip to content

Update yarn.lock file #493

Update yarn.lock file

Update yarn.lock file #493

name: Update yarn.lock file
on:
# run daily
schedule:
- cron: '0 0 * * *'
# allow manual trigger
workflow_dispatch:
# Ensure only one lock action can run at a time
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
update-yarn-lock-file:
runs-on: ubuntu-latest
permissions:
pull-requests: write
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install yarn
run: npm install -g yarn
- name: Update yarn.lock
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
scripts/update-yarn-lock-file.sh