refactor: update ci and semantic release

This commit is contained in:
Walid 2022-08-14 01:02:23 +01:00
parent 3a3688e139
commit b6391d4d91
No known key found for this signature in database
GPG Key ID: 7DF9215FC4E48853
4 changed files with 4 additions and 26 deletions

View File

@ -17,7 +17,7 @@ jobs:
with:
node-version: 16.x
- name: Install packages
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Building project

View File

@ -19,7 +19,7 @@ jobs:
with:
node-version: 16.x
- name: Install packages
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Next.js linting

View File

@ -1,21 +0,0 @@
{
"branches": [
"master"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
"@semantic-release/npm",
"@semantic-release/github"
]
}

View File

@ -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",