fix: #173 #61
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 Check | |
on: | |
pull_request: | |
branches: | |
- main | |
permissions: | |
pull-requests: read | |
jobs: | |
########### UNIT TEST PACKAGE ############ | |
unit-test-package: | |
name: Unit Test Package | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: PNPM Install | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9.1.3 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.10.0 | |
cache: 'pnpm' | |
registry-url: https://registry.npmjs.org/ | |
- run: corepack enable | |
- name: Install NPM Dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Test Library Check | |
if: ${{ always() }} | |
run: pnpm test |