Skip to content

dawidkotarba/dawidkotarba.github.io

Repository files navigation

CI/CD

My resume, under construction. Forever :)

Credits:

Images from Unsplash, authors are credited in the image name.

Commands:

All common tasks can be executed using npm:

  1. Install dependencies:

    npm install
  2. Standard Build: (compiles JS, SCSS, images, and HTML to dist/)

    npm run build
  3. Clean Build (rebuild): (removes node_modules, dist, and re-installs everything - used for troubleshooting)

    npm run rebuild
  4. Development (live reload): (starts a local server and watches for changes)

    npm run serve
  5. Clean: (removes the dist folder)

    npm run clean

For a npm run serve on Linux, you may need to increase the inotify watch limit:

sudo vim /etc/sysctl.conf

Add a line at the bottom: fs.inotify.max_user_watches=524288

To check if it is applied: sudo sysctl -p

Testing:

npm run test
npm run cypress

Firefox has to be installed as it is used in headless mode.

Git hooks:

Execute install.sh from githooks folder

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors