Skip to content

Commit 5a959bc

Browse files
Feature/semantic release (#20)
* feature: Install semantic-release * docs: update project documentation. * feature: create github action for generating semantic releases * fix: Add pnpm to the pipeline. * test: activate manual deployment. * docs: update project version and update project-plan. * feature: Setup semantic * fix: enable semantic to work on the feature/semantic-release branch for test purposes. * chore: Update project tagerts. * chore: Add name to the project * fix: remove extra branch from the release-workflow * chore: code refactory. * feature: Added new links to the footer.
1 parent f99f0ab commit 5a959bc

File tree

7 files changed

+91
-9
lines changed

7 files changed

+91
-9
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ on:
33
push:
44
branches:
55
- dev
6+
- main
67
workflow_dispatch: #Manual trigger for the workflow
78

89
permissions:
910
contents: read
1011
jobs:
1112
# Semmantic Release
13+
#TODO: Add this job to the main.yml workflow
1214
semantic-release:
1315
runs-on: ubuntu-latest
1416
permissions:
@@ -30,9 +32,6 @@ jobs:
3032
run: npm install -g pnpm
3133
- name: Install dependencies
3234
run: pnpm install
33-
# run: npm clean-install
34-
# - name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
35-
# run: npm audit signatures
3635
- name: Release
3736
env:
3837
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.releaserc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"branches": ["dev", "feature/semantic-release"],
3+
"plugins": [
4+
"@semantic-release/commit-analyzer",
5+
"@semantic-release/release-notes-generator",
6+
"@semantic-release/changelog",
7+
"@semantic-release/npm",
8+
"@semantic-release/github"
9+
]
10+
}

CHANGELOG.md

Whitespace-only changes.

app/components/footer.tsx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,28 @@ export default function Footer() {
1515
<p className="ml-2 h-7">LinkedIn</p>
1616
</a>
1717
</li>
18+
<li>
19+
<a
20+
className="flex items-center transition-all hover:text-neutral-800 dark:hover:text-neutral-100"
21+
rel="noopener noreferrer"
22+
target="_blank"
23+
href="https://github.com/franciscosuca"
24+
>
25+
<ArrowIcon />
26+
<p className="ml-2 h-7">GitHub</p>
27+
</a>
28+
</li>
29+
<li>
30+
<a
31+
className="flex items-center transition-all hover:text-neutral-800 dark:hover:text-neutral-100"
32+
rel="noopener noreferrer"
33+
target="_blank"
34+
href="https://stackoverflow.com/users/5208441/imlearningdontjudgeme "
35+
>
36+
<ArrowIcon />
37+
<p className="ml-2 h-7">Stackoverflow</p>
38+
</a>
39+
</li>
1840
<li>
1941
<a
2042
className="flex items-center transition-all hover:text-neutral-800 dark:hover:text-neutral-100"

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
"private": true,
3-
"version": "1.1.2",
3+
"name": "online-cv",
4+
"description": "Your package description",
5+
"author": "Francisco Susana",
6+
"license": "MIT",
7+
"version": "1.2.1",
48
"scripts": {
59
"dev": "next dev",
610
"build": "next build",
@@ -25,5 +29,8 @@
2529
"sugar-high": "^0.6.1",
2630
"tailwindcss": "4.0.0-alpha.13",
2731
"typescript": "5.3.3"
32+
},
33+
"devDependencies": {
34+
"@semantic-release/changelog": "^6.0.3"
2835
}
2936
}

pnpm-lock.yaml

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

project-plan.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,12 @@
1919
✅- Add Hambuger menu for small screens
2020

2121

22-
# v1.2.0
22+
# v1.2.2
2323

24-
## Non-user Features
24+
✅- Add semantic release to the project
25+
✅ - Setup Semantic for auto-generating a changelog
2526

26-
🚧- Add semantic release to the project?
27-
28-
# v1.2.1
27+
# v1.2.4
2928

3029
## Feature
3130
🕐- New design?

0 commit comments

Comments
 (0)