feat: add listener to algorithm change #102
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
# This workflow will do a clean installation of node dependencies, cache/restore them, | |
# build the source code and run tests across different versions of node | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | |
name: nodejs-ci | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- 'nodejs-tools/**' | |
pull_request: | |
branches: ["main"] | |
paths: | |
- 'nodejs-tools/**' | |
jobs: | |
nodejs-ci: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./nodejs-tools | |
steps: | |
- uses: actions/checkout@v3 | |
# install deps | |
- run: npm install | |
# Build the project | |
- run: npm run build | |
# Test the project | |
- run: npm run test |