From aa61441ec2193a15850d46a12ce8b178a5d90afb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Iv=C3=A1n=20Tajes?= <tajespasarela@gmail.com>
Date: Mon, 27 Feb 2023 16:43:50 +0100
Subject: [PATCH] Fix CI

---
 .github/actions/release-alpha/action.yml | 6 ++++--
 .github/workflows/build.yml              | 2 +-
 .github/workflows/prepare-release.yml    | 2 +-
 .github/workflows/publish-release.yml    | 2 +-
 .github/workflows/release-alpha.yml      | 2 +-
 lerna.json                               | 1 +
 6 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/.github/actions/release-alpha/action.yml b/.github/actions/release-alpha/action.yml
index 17021c0de8..e1a68c71d7 100644
--- a/.github/actions/release-alpha/action.yml
+++ b/.github/actions/release-alpha/action.yml
@@ -8,7 +8,7 @@ inputs:
     description: Token to push code to github
     required: true
 runs:
-  using: "composite"
+  using: 'composite'
   steps:
     - name: Configure git user
       run: |
@@ -25,7 +25,9 @@ runs:
         NPM_TOKEN: ${{ inputs.npm_token }}
 
     - name: Publish release
-      run: pnpm run release:alpha
+      run: |
+        git restore ./pnpm-lock.yaml
+        pnpm run release:alpha
       shell: bash
 
     - name: Push tags
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2356dd5202..02a9c12e7c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -58,7 +58,7 @@ jobs:
           restore-keys: lerna-cache-
 
       - name: install dependencies
-        run: pnpm install --frozen-lockfile
+        run: pnpm install
 
       - name: lint packages
         run: pnpm run lint
diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml
index e7df787f3e..84653ad0fe 100644
--- a/.github/workflows/prepare-release.yml
+++ b/.github/workflows/prepare-release.yml
@@ -20,7 +20,7 @@ jobs:
           version: 7
 
       - name: install dependencies
-        run: pnpm install --frozen-lockfile
+        run: pnpm install
 
       - name: lint packages
         run: pnpm run lint
diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml
index 75aa0849d1..bb5e98b077 100644
--- a/.github/workflows/publish-release.yml
+++ b/.github/workflows/publish-release.yml
@@ -25,7 +25,7 @@ jobs:
           version: 7
 
       - name: install dependencies
-        run: pnpm install --frozen-lockfile
+        run: pnpm install
 
       - name: lint packages
         run: pnpm run lint
diff --git a/.github/workflows/release-alpha.yml b/.github/workflows/release-alpha.yml
index c4e822117f..71c79b7385 100644
--- a/.github/workflows/release-alpha.yml
+++ b/.github/workflows/release-alpha.yml
@@ -22,7 +22,7 @@ jobs:
           version: 7
 
       - name: install dependencies
-        run: pnpm install --frozen-lockfile
+        run: pnpm install
 
       - name: lint packages
         run: pnpm run lint
diff --git a/lerna.json b/lerna.json
index f18f95318d..28b4948296 100644
--- a/lerna.json
+++ b/lerna.json
@@ -1,5 +1,6 @@
 {
   "version": "independent",
+  "ignoreChanges": ["pnpm-lock.yaml"],
   "changelogPreset": {
     "name": "conventionalcommits",
     "issuePrefixes": ["EX-"],