mirror of
https://github.com/tenrok/BBob.git
synced 2026-05-15 11:59:37 +03:00
* chore: initial tests * feat: parser test * feat: add case free tags support * fix: coverage upload * fix: --disable=gcov * fix: npm publish sha commit * fix: change codecov to coveralls * fix: change workflow pr build and publish * chore: change coverage badge [skip ci]
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
name: Pull Request
|
||||
on:
|
||||
# workflow_run:
|
||||
# workflows:
|
||||
# - Tests
|
||||
# - Benchmark
|
||||
# types:
|
||||
# - completed
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '.changeset/**'
|
||||
- '.husky/**'
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: ci-pull-request=${{github.ref}}-1
|
||||
@@ -30,7 +37,7 @@ jobs:
|
||||
- name: Set SHA
|
||||
id: sha
|
||||
run: |
|
||||
SHORT_SHA=$(git rev-parse --short "$GITHUB_SHA")
|
||||
SHORT_SHA=$(git rev-parse --short "${{ github.event.pull_request.head.sha }}")
|
||||
echo "short_sha=${SHORT_SHA}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Install pnpm
|
||||
|
||||
@@ -37,11 +37,8 @@ jobs:
|
||||
- name: Run the lint
|
||||
run: pnpm run lint
|
||||
|
||||
- name: Install coverage
|
||||
run: pnpm install --global codecov
|
||||
|
||||
- name: Run the coverage
|
||||
run: pnpm run cover
|
||||
|
||||
- name: Run the coverage
|
||||
run: codecov
|
||||
- name: Coveralls
|
||||
uses: coverallsapp/github-action@v2
|
||||
|
||||
Reference in New Issue
Block a user