Skip to content

Update Yarn Packages #17

Update Yarn Packages

Update Yarn Packages #17

Workflow file for this run

name: Update Yarn Packages
on:
schedule:
- cron: '0 0 */2 * *'
jobs:
update-packages:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install dependencies
run: |
npm install --global yarn
yarn --version
yarn install
- name: Upgrade Yarn packages
run: yarn upgrade
- name: Commit and push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.TOKEN }}
branch: main
force: false # Optional, um --force Pushes zu erlauben