https://adventofcode.com/2023/
https://sergiorgiraldo.github.io/AdventOfCode2023/solutions/
-
To run a solution by day, use:
npm start day2
- If it is a new day, it will generate the folder for the day based on the template, also download the input using AOCD (https://github.com/wimglenn/advent-of-code-data)
-
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
-
- Enable github pages: repo settings > pages > deploy from branch main, root
- Configure release-please workflow a. Change the year
- 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:
- Change the year in package.json and set version to 0.0.0
- Change the year in the readme
- Change ITERATION to 0.0.1