Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,20 +155,19 @@
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci --no-audit --no-fund || npm install --no-audit --no-fund
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
- name: Install Bun dependencies
run: bun install --frozen-lockfile

Check warning on line 161 in .github/workflows/ci.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Omitting "--ignore-scripts" allows lifecycle scripts to run during package installation.

See more on https://sonarcloud.io/project/issues?id=KooshaPari_colab&issues=AaBHIi2ju-gl0eU6QJvj&open=AaBHIi2ju-gl0eU6QJvj&pullRequest=155
- name: lint
run: |
if [ -f package.json ] && grep -q '"lint"' package.json; then
npm run lint 2>&1 || echo "::warning::lint issues (advisory)"
bun run lint 2>&1 || echo "::warning::lint issues (advisory)"
fi
- name: test
run: |
if [ -f package.json ] && grep -q '"test"' package.json; then
npm test 2>&1 || echo "::warning::test failures (advisory)"
bun run test 2>&1 || echo "::warning::test failures (advisory)"
fi

security:
Expand Down
Loading