feat(js): add solution for 2024 day 24 part 1 #180
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: js | |
on: [push, pull_request] | |
jobs: | |
lint-and-run: | |
name: JavaScript (lint and run solutions for current edition) | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./js | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 22.x | |
- run: npm install | |
- run: npm run lint | |
- run: npm start -- --exit-code | |
- run: npm test |