Skip to content

fix: update Node.js version to 20 and bump portal-administration #731

fix: update Node.js version to 20 and bump portal-administration

fix: update Node.js version to 20 and bump portal-administration #731

Workflow file for this run

name: Update lockfile
on:
workflow_dispatch:
pull_request:
branches:
- main
jobs:
update-lockfile:
if: startsWith(github.head_ref, 'snyk-')
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Update lockfile
run: |
cd client
yarn install
- name: Check for changes
run: |
if ! git diff --quiet client/yarn.lock; then
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git add client/yarn.lock
git commit -n -m "chore(snyk): update lockfile"
git push
fi