removed monorepo and added swc #15
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 Unit Tests | |
on: [push] | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} | |
path: node_modules | |
- name: Use Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 19.0.1 | |
- name: Install Dependencies | |
run: npm i --force | |
- name: Unit testing | |
run: | | |
npm run test |