Skip to content

Commit

Permalink
Debug Build
Browse files Browse the repository at this point in the history
  • Loading branch information
cressie176 committed Jan 17, 2025
1 parent 2182e03 commit 8dcf0d4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/node-js-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,17 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: ./demo-label-bug.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - run: npm ci
# - run: curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
# - run: chmod +x ./cc-test-reporter
# - run: ./cc-test-reporter before-build
# - run: npm run lint
- run: npm run coverage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - run: npm run coverage
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - run: ./cc-test-reporter format-coverage -t lcov coverage/lcov.info
# - run: ./cc-test-reporter upload-coverage
# env:
Expand Down
14 changes: 9 additions & 5 deletions demo-label-bug.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
#!/bin/bash

ID=$(openssl rand -base64 12)

curl -X POST \
-H "Authorization: token ${GITHUB_TOKEN}" \
-H "Accept: application/vnd.github+json" \
https://api.github.com/repos/acuminous/knuff-github-driver/issues \
-d '{
"title": "Label Bug",
"body": "Demonstrates the Label Bug",
"labels": ["l1", "l2", "knuff:test-a3e780fd40034e1502fa", "knuff:2024-12-25"]
}'
-d "{
\"title\": \"Label Bug\",
\"body\": \"Demonstrates the Label Bug\",
\"labels\": [\"l1\", \"l2\", \"knuff:test-${ID}\", \"knuff:2024-12-25\"]
}"

0 comments on commit 8dcf0d4

Please sign in to comment.