make the example runable in the repl #19
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: Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ['14', '12', '10', '8'] | |
name: Node ${{ matrix.node }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Clean Install | |
run: npm ci | |
- name: Linting Codebase | |
run: npm run lint | |
- name: Unit Testing | |
run: npm run test | |
- name: Building Artefacts | |
run: npm run build |