Skip to content

feat: bootstrap package #2

feat: bootstrap package

feat: bootstrap package #2

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: ["lts/hydrogen", "lts/iron", "21", "22"]
name: Node ${{ matrix.node }}
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@v4
- name: Setup node env πŸ—
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "npm"
- name: Install dependencies πŸ‘¨πŸ»β€πŸ’»
run: npm ci
- name: Lint code 🧹
run: npm run lint
- name: Run tests πŸ§ͺ
run: npm run test
- name: Run builds πŸ› 
run: npm run build