Tests: for Week01 Day05 #2
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: Tests for Week01 Day05 | |
on: push | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
# Trigger word 'javascript-largest-number' | |
if: contains(github.event.head_commit.message, 'javascript-largest-number') | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: Install dependencies | |
run: npm ci | |
- name: Run tests | |
run: node curriculum/week01/exercises/javascript-first-steps/tests/largest-number.test.js |