Removed NPM dependency yoctocolors
by replacing it with styleText
function from node:util
#20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |