Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Node.js 🔧
uses: actions/setup-node@v3.8.1
with:
node-version: 18.x
node-version: 22.x

- name: Update npm 🚀
run: npm install -g npm@latest
Expand All @@ -36,6 +36,6 @@ jobs:
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # This is provided by GitHub.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This is provided by GitHub.
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: build # The folder the action should deploy.
2 changes: 1 addition & 1 deletion .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-node@v3.8.1
with:
node-version: 18.x
node-version: 22.x

- name: Install 🔧 # Install dependencies
run: |
Expand Down
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
# This file is the main docker file configurations

# Official Node JS runtime as a parent image
FROM node:20.0-alpine
FROM node:22-alpine

# Set the working directory to ./app
WORKDIR /app

# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY package.json ./
COPY package*.json ./

RUN apk add --no-cache git

# Install any needed packages
RUN npm install

# Audit fix npm packages
RUN npm audit fix
RUN npm ci

# Bundle app source
COPY . /app
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"name": "developerfolio",
"version": "0.1.0",
"private": true,
"engines": {
"node": "22.x"
},
"dependencies": {
"colorthief": "^2.3.0",
"enzyme": "^3.11.0",
Expand Down
11 changes: 5 additions & 6 deletions src/containers/greeting/Greeting.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,12 @@ export default function Greeting() {
<div className="button-greeting-div">
<Button text="Contact me" href="#contact" />
{greeting.resumeLink && (
<a
href={require("./resume.pdf")}
download="Resume.pdf"
<Button
text="See my resume"
href={greeting.resumeLink}
className="download-link-button"
>
<Button text="Download my resume" />
</a>
newTab={true}
/>
)}
</div>
</div>
Expand Down
Binary file removed src/containers/greeting/resume.pdf
Binary file not shown.