Skip to content

refactor: update documentation and references from MixtapeLabs API to… #61

refactor: update documentation and references from MixtapeLabs API to…

refactor: update documentation and references from MixtapeLabs API to… #61

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
NPM_TOKEN: ${{ secrets.GH_TOKEN }}
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Ensure npm token available
run: |
if [ -z "$NPM_TOKEN" ]; then
echo "GH_TOKEN secret is required to install from GitHub Packages" && exit 1
fi
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Type check
run: npm run typecheck
- name: Test
run: npm test
- name: Build
run: npm run build