CAN THIS WORK PLEASE
This commit is contained in:
parent
d485a4f5e4
commit
c26961fc30
1 changed files with 10 additions and 4 deletions
14
.github/workflows/lockfile.yml
vendored
14
.github/workflows/lockfile.yml
vendored
|
@ -8,9 +8,11 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
update-lockfile:
|
update-lockfile:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [ 18 ]
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -18,14 +20,18 @@ jobs:
|
||||||
# Make sure the actual branch is checked out when running on pull requests
|
# Make sure the actual branch is checked out when running on pull requests
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
- uses: pnpm/action-setup@v2.2.2
|
- uses: pnpm/action-setup@v2.2.2
|
||||||
|
with:
|
||||||
|
version: 7
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
cache: 'pnpm'
|
||||||
- name: Update lockfile
|
- name: Update lockfile
|
||||||
run: pnpm i --lockfile-only
|
run: pnpm i --lockfile-only
|
||||||
|
|
||||||
- name: Commit Updated Lockfile
|
- name: Commit Updated Lockfile
|
||||||
uses: stefanzweifel/git-auto-commit-action@v4.14.1
|
uses: stefanzweifel/git-auto-commit-action@v4.14.1
|
||||||
with:
|
with:
|
||||||
commit_message: "chore: Updated Lockfile\n [ci skip]"
|
commit_message: "chore: Updated Lockfile\n [ci skip]"
|
||||||
commit_user_name: "cider-chore[bot]"
|
commit_user_name: "cider-chore[bot]"
|
||||||
commit_user_email: "cider-chore[bot]@users.noreply.github.com"
|
commit_user_email: "cider-chore[bot]@users.noreply.github.com"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue