From 6e78c11b70798778cf2a217b5c122233c61d4e33 Mon Sep 17 00:00:00 2001
From: samcyn <samsoniyanda@outlook.com>
Date: Tue, 2 Apr 2024 01:03:34 +0100
Subject: [PATCH] ci(plugin): fix github workflow for release

---
 .github/workflows/publish.yml | 4 ++--
 packages/plugin/package.json  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 78364b0..cf0c2d8 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -32,10 +32,10 @@ jobs:
     needs: [quality]
     steps: 
     - uses: actions/checkout@v2
-    - name: Use Node.js ${{ matrix.node-version }}
+    - name: Use Node.js 20.x
       uses: actions/setup-node@v2
       with:
-        node-version: ${{ matrix.node-version }}
+        node-version: 20.x
     - run: yarn install
     - run: yarn release:plugin
       env: 
diff --git a/packages/plugin/package.json b/packages/plugin/package.json
index ee80e39..e0d5d32 100644
--- a/packages/plugin/package.json
+++ b/packages/plugin/package.json
@@ -14,7 +14,7 @@
     "build": "tsc",
     "develop": "tsc --watch",
     "prepare": "npm run clean && npm run build",
-    "semantic-release": "semantic-release --branches main"
+    "semantic-release": "semantic-release --branches release"
   },
   "keywords": [
     "gatsby",