Skip to content

Removed NPM dependency yoctocolors by replacing it with styleText function from node:util #20

Removed NPM dependency yoctocolors by replacing it with styleText function from node:util

Removed NPM dependency yoctocolors by replacing it with styleText function from node:util #20

name: Pull Request Workflow
on: pull_request
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: CPU Details
run: lscpu
- uses: actions/checkout@v4
- name: Ensure the changelog contains a section for the current package version
run: if [ $(gh pr diff --name-only | grep CHANGELOG.md) != 'CHANGELOG.md' ]; then exit 1; fi && VERSION=`cat package.json | jq -r .version` grep "## $VERSION" CHANGELOG.md
- uses: oven-sh/setup-bun@v1
with:
bun-version: "1.0.35"
- run: bun install --frozen-lockfile
- run: bun run check:environment
- run: bun --bun run check:formatting
- run: bun --bun run check:lint-conflicts
- run: bun --bun run check:types
- run: bun run lint:typescript