Init a NPM project

This commit is contained in:
2024-02-25 13:20:36 +01:00
parent 6a4087e8cf
commit e46fbe2afa
7 changed files with 3247 additions and 6 deletions

View File

@ -17,9 +17,8 @@ steps:
libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 \
libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 \
libnss3-dev
- npm install -g md-to-pdf
- |-
md-to-pdf index.md --launch-options '{ "args": ["--no-sandbox"] }'
- npm install
- npm run build
- mkdir $CI_WORKSPACE/cv
- mv index.pdf $CI_WORKSPACE/cv/n.rodionov.pdf

View File

@ -9,5 +9,5 @@ steps:
name: Run the spellchecker
image: node
commands:
- npm i markdown-spellcheck -g
- mdspell "*.md" -n -r
- npm install
- npm run test