Skip to content

test(curso): utilities methods #12

test(curso): utilities methods

test(curso): utilities methods #12

Workflow file for this run

name: Lint, Format, and Test
on:
push:
branches:
- dolly-next
pull_request:
branches:
- dolly-next
jobs:
lint-format-test:
runs-on: ubuntu-latest
steps:
- name: 🛎️ Checkout code
uses: actions/checkout@v2
- name: 📦 Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18
- name: ⚙️ Cache Node Modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: ⚙️ Install dependencies
run: npm ci
- name: 🧹 Lint and Format
run: npm run type-check && npm run lint-staged
- name: ✅ Run Tests
run: npm run test