123456789101112131415161718192021222324252627282930 |
- name: Run Tests
- on: [push]
- env:
- PNPM_CACHE_FOLDER: .pnpm-store
- HUSKY: 0 # Bypass husky commit hook for CI
- jobs:
- test:
- name: Unit Test
- runs-on: ubuntu-20.04
- strategy:
- matrix:
- node-version: [16]
- steps:
- - name: Checkout
- uses: actions/checkout@v3
- - name: Setup pnpm
- uses: pnpm/action-setup@v2
- with:
- version: 8
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v3
- with:
- node-version: ${{ matrix.node-version }}
- cache: 'pnpm'
- - name: Install dependencies
- run: pnpm install
- - name: Run Unit Tests
- run: pnpm run test
|