From 4152e1cc3f730b87f4ba87ff72e5c2324ccee437 Mon Sep 17 00:00:00 2001 From: Tom French Date: Thu, 14 Sep 2023 19:43:55 +0100 Subject: [PATCH] chore: switch `release-source-resolver.yml` to use yarn --- .github/workflows/release-source-resolver.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-source-resolver.yml b/.github/workflows/release-source-resolver.yml index 821d409726e..9b699cae969 100644 --- a/.github/workflows/release-source-resolver.yml +++ b/.github/workflows/release-source-resolver.yml @@ -27,12 +27,10 @@ jobs: echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV - name: Install dependencies - working-directory: ./compiler/source-resolver - run: npm install + run: yarn install --immutable - name: Build noir-source-resolver - working-directory: ./compiler/source-resolver - run: npm run build + run: yarn workspace @noir-lang/noir-source-resolver build - name: Publish to NPM working-directory: ./compiler/source-resolver @@ -47,7 +45,7 @@ jobs: - name: Commit updates run: | - git add compiler/source-resolver/package-lock.json + git add yarn.lock git add compiler/source-resolver/package.json git commit -m "chore: Update source-resolver to ${{ env.NEW_VERSION }}" git push