feat: combine sort by names functions into one generic function #91
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/checkout@v4.1.1 | |
- name: Setup Node environment | |
uses: actions/setup-node@v4.0.1 | |
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 linter | |
run: npm run eslint | |
- 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 | |