fiks: core tim 2 (#51) #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
name: Unit Test & End to End | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
testing: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ 18, 20 ] | |
name: Node ${{matrix.node}} Unit Test & End to End | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Node ${{matrix.node}} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'npm' | |
- name: Install Dependencies | |
run: npm ci | |
- name: Run Jest Unit Testing | |
run: npm test | |