From dbcc476c26e75943e04803515f6965d834de7694 Mon Sep 17 00:00:00 2001 From: Walid <87608619+Walidoux@users.noreply.github.com> Date: Sun, 14 Aug 2022 01:04:45 +0100 Subject: [PATCH] refactor: semantic release and ci workflow (#46) * refactor: update ci and semantic release --- .github/workflows/ci.yml | 2 +- .github/workflows/lint.yml | 2 +- package.json | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1503bd9..030ba28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: with: node-version: 16.x - - name: Install packages + - name: Install dependencies run: yarn --frozen-lockfile - name: Building project diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 72fa61f..91956e6 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,7 +19,7 @@ jobs: with: node-version: 16.x - - name: Install packages + - name: Install dependencies run: yarn --frozen-lockfile - name: Next.js linting diff --git a/package.json b/package.json index 0d2eca7..ef04a1d 100644 --- a/package.json +++ b/package.json @@ -29,9 +29,8 @@ "lint:prettier": "prettier \".\" --check", "lint:commit": "commitlint", "lint:staged": "lint-staged", - "release": "semantic-release", - "generate": "plop", - "semantic-release": "semantic-release" + "release": "semantic-release --branches main", + "generate": "plop" }, "dependencies": { "@fontsource/open-sans": "^4.5.11",