Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #22

Closed
wants to merge 12 commits into from
31 changes: 31 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ resume export resume.html --format html --theme actual

```bash
git clone [email protected]:davcd/jsonresume-theme-actual.git
cd jsonresume-theme-actual

npm install
npm install ./jsonresume-theme-actual


gulp
```
Expand Down
5 changes: 5 additions & 0 deletions assets/pug/education.pug
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ if helper.validArray(resume.education)
div(class='title markdown')!=helper.mdToHtml(helper.beautifyArray(', ', [edu.studyType, edu.area]))
span(class='institution margin-text-1')
a(href=edu.url)=edu.institution
span(class='dates margin-text-1')=helper.calcDateRange(edu.startDate, edu.endDate)
if helper.validArray(edu.courses)
ul(class='highlights no-break')
each courses in edu.courses
li=courses
1 change: 1 addition & 0 deletions assets/scss/awards.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.title {
font-size: $awards-title-font-size;
display: inline-block;
list-style: none;
}

.awarder {
Expand Down
20 changes: 20 additions & 0 deletions assets/scss/education.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

.title {
font-size: $education-area-font-size;
font-weight: bolder;
}

.institution {
Expand All @@ -11,4 +12,23 @@
text-decoration-color: lighten($text-color, 40%);
}
}

ul {
list-style: none;
margin-top: 0.55em; }
ul li {
font-size: 13px;
font-weight: lighter;
margin-top: 0.15em;
list-style: none;
}
ul li::before {
content: "· ";
vertical-align: middle;
}

.dates{
font-size: 13px;
font-weight: lighter;
}
}
27 changes: 25 additions & 2 deletions assets/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,9 @@ li {
line-height: 1.3; }

.education .title {
font-size: 15px; }
font-size: 15px;
font-weight:bold;
}

.education .institution {
font-size: 15px;
Expand All @@ -284,7 +286,9 @@ li {

.awards .header .title {
font-size: 16px;
display: inline-block; }
display: inline-block;
list-style: none;
}

.awards .header .awarder {
font-size: 15px;
Expand All @@ -309,3 +313,22 @@ li {
list-style: none; }
.links ul li {
font-size: 14px; }

.education ul {
list-style: none;
margin-top: 0.55em; }
.education ul li {
font-size: 13px;
font-weight: lighter;
margin-top: 0.15em;
list-style: none;
}
.education ul li::before {
content: "· ";
vertical-align: middle;
}

.education .dates{
font-size: 13px;
font-weight: lighter;
}
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { src, dest, watch, series } = require('gulp')
const pug = require('gulp-pug')
const sass = require('gulp-sass')
const sass = require('gulp-sass')(require('sass'));

const bs = require('browser-sync').create()

Expand Down
Loading