Skip to content

feat: decouple commands #98

feat: decouple commands

feat: decouple commands #98

Workflow file for this run

name: Lint & test
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Cache npm dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
${{ runner.os }}-
- name: Install dependencies
run: npm ci
- name: Concurrently lint and test
run: npm exec concurrently npm:lint npm:test