Skip to content

[ CURRICULUM ][ WEEK 01 ] Added GitHub actions for 1st JS exercise test #1

[ CURRICULUM ][ WEEK 01 ] Added GitHub actions for 1st JS exercise test

[ CURRICULUM ][ WEEK 01 ] Added GitHub actions for 1st JS exercise test #1

Workflow file for this run

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