Skip to content

Commit

Permalink
fix(scripts): js ci when algoliasearch is missing (#3213)
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts authored Jun 19, 2024
1 parent 0bcaea0 commit 65775e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ jobs:
run: ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).buildCommand }}

- name: Run common and requester tests
run: cd clients/algoliasearch-client-javascript && yarn test
run: cd clients/algoliasearch-client-javascript && yarn test ${{ !contains(fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun, 'algoliasearch') && '--ignore algoliasearch' || '' }}

- name: Test JavaScript bundle size
if: ${{ startsWith(env.head_ref, 'chore/prepare-release-') }}
Expand Down
2 changes: 1 addition & 1 deletion clients/algoliasearch-client-javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"clean": "lerna run clean --include-dependencies",
"release:bump": "lerna version ${0:-patch} --no-changelog --no-git-tag-version --no-push --exact --force-publish --yes",
"release:publish": "tsc --project tsconfig.script.json && node dist/scripts/publish.js",
"test": "lerna run test",
"test": "lerna run test $*",
"test:size": "bundlesize"
},
"devDependencies": {
Expand Down

1 comment on commit 65775e4

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.