Skip to content

ci: dummy change

ci: dummy change #101

Workflow file for this run

name: Node
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout 🛬
uses: actions/checkout@v4
- name: Setup Node ⚙️
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache Dependencies ⌛️
uses: 'actions/cache@v3'
id: cache-node-modules
with:
path: 'node_modules'
key: deps-node-modules-${{ hashFiles('**/package-lock.json') }}-node-${{ matrix.node-version }}
- name: Install dependencies 📥
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: npm ci
- name: Build typescript 📦
run: npm run build
- name: Lint code 💅
run: npm run lint
- name: Run tests ✅
run: npm run test