Adjusted all tests to match new signature place (in end) #18
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: Run tests | |
on: | |
push: | |
branches: [ "main", "feature/optimisation" ] | |
pull_request: | |
branches: [ "main", "feature/optimisation" ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Read .nvmrc | |
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_ENV | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '${{ env.NVMRC }}' | |
- name: Set up dependencies | |
run: npm ci | |
- name: Test | |
run: npm run test |