Additional properties should add to a basic type as opposed to replac… #14
Workflow file for this run
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: unittest | |
on: [pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Node environment | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
- name: Cache Modules | |
uses: actions/cache@v4 | |
with: | |
path: "**/node_modules" | |
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }} | |
- name: Install dependencies | |
run: npm install | |
- name: Build library | |
run: npm run release | |
- name: Run unit tests | |
run: npm run test | |
# - name: Run e2e tests | |
# run: npm run test:e2e | |
# - name: Submit to Codecov | |
# run: npm run codecov | |