From c26961fc30616697c956f2b0fd493bf428686007 Mon Sep 17 00:00:00 2001 From: Core Date: Thu, 25 Aug 2022 17:01:21 +0100 Subject: [PATCH] CAN THIS WORK PLEASE --- .github/workflows/lockfile.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lockfile.yml b/.github/workflows/lockfile.yml index c9ec633b..eba7314b 100644 --- a/.github/workflows/lockfile.yml +++ b/.github/workflows/lockfile.yml @@ -8,9 +8,11 @@ on: jobs: update-lockfile: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [ 18 ] permissions: contents: write - steps: - name: Checkout uses: actions/checkout@v2 @@ -18,14 +20,18 @@ jobs: # Make sure the actual branch is checked out when running on pull requests ref: ${{ github.head_ref }} - 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 run: pnpm i --lockfile-only - - name: Commit Updated Lockfile uses: stefanzweifel/git-auto-commit-action@v4.14.1 with: commit_message: "chore: Updated Lockfile\n [ci skip]" commit_user_name: "cider-chore[bot]" commit_user_email: "cider-chore[bot]@users.noreply.github.com" -