Skip to content

chore: update build process #2

chore: update build process

chore: update build process #2

Workflow file for this run

name: CI Pipeline
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
registry-url: https://registry.npmjs.org
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm install
- name: Run typescript
run: npm run tsc
- name: Run linter
run: npm run lint
- name: Run tests
run: npm run test
- name: Build the project
run: npm run build