AdventOfCode2023

Puzzles from

https://adventofcode.com/2023/

My solutions

https://sergiorgiraldo.github.io/AdventOfCode2023/solutions/

Performance

Usage

  • To run a solution by day, use: npm start day2

  • To run test by day, use: npm test day2

  • To submit answers, use: npm run submit [1..25] [1|2]

    • npm run submit 15 1, part 1 of day 15

    • npm run submit 15 2, part 2 of day 15

Setup

  1. Enable github pages: repo settings > pages > deploy from branch main, root
  2. Configure release-please workflow a. Change the year
  3. Configure "update stars in readme" workflow a. create a PAT with repo permissions and store in secrets (GH_PAT_AOCYYYY, replace YYYY with year from advent), update the name in the chekcout step b. change the year in the workflow c. double-check the aoc userid and session d. hints in the pages:
  4. Change the year in package.json and set version to 0.0.0
  5. Change the year in the readme
  6. Change ITERATION to 0.0.1

Based in

https://github.com/johnbeech/advent-of-code-nodejs-template