Skip to content

Commit

Permalink
ci: fix ga job condition (#658)
Browse files Browse the repository at this point in the history
  • Loading branch information
scolladon committed Jul 24, 2023
1 parent a4117af commit b8f205e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/on-main-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
perf:
needs: prepare-release
runs-on: ubuntu-latest
if: needs.prepare-release.outputs.release_created == 'false'
if: needs.prepare-release.outputs.release_created != 'true'
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand Down Expand Up @@ -130,14 +130,16 @@ jobs:
path: ./e2e

- name: Run benchmark
run: yarn test:perf
run: |
git checkout -f main
yarn test:perf
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
name: Benchmark.js Benchmark
tool: 'benchmarkjs'
output-file-path: ./plugin/perf-result.txt
output-file-path: ./perf-result.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
alert-threshold: '130%'
Expand Down

0 comments on commit b8f205e

Please sign in to comment.