Running tests on behalf of toddmedema π #8
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: Test Code | |
run-name: Running tests on behalf of ${{ github.actor }} π | |
on: [push] | |
jobs: | |
npm-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version: 21.7.0 | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- run: echo "π‘ The ${{ github.repository }} repository has been cloned to the runner." | |
- run: npm install | |
- run: npm test -- --watchAll=false --passWithNoTests |