Skip to content

Add links

Add links #5

Workflow file for this run

# This workflow will do a clean install of node dependencies and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: javascript / main
on:
push:
branches: [main]
jobs:
precheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- name: Use Node.js LTS (16.x)
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
with:
node-version: '16'
- name: Install project dependencies
run: npm ci
- name: Run exercism/javascript ci precheck (checks config, lint code, and runs tests) for all exercises
run: npx babel-node scripts/ci-check
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['16', '17', '18']
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
with:
node-version: ${{ matrix.node-version }}
- name: Install project dependencies
run: npm ci
- name: Run exercism/javascript ci (checks config, lint code, and runs tests) for all exercises
run: npx babel-node scripts/ci