* build(deps): bump i18next from 23.15.2 to 23.16.4 in /client Bumps [i18next](https://github.com/i18next/i18next) from 23.15.2 to 23.16.4. - [Release notes](https://github.com/i18next/i18next/releases) - [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md) - [Commits](https://github.com/i18next/i18next/compare/v23.15.2...v23.16.4) --- updated-dependencies: - dependency-name: i18next dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump typescript from 5.6.2 to 5.6.3 in /client Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.6.2 to 5.6.3. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.2...v5.6.3) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps-dev): bump @eslint/js from 9.13.0 to 9.14.0 in /client Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.13.0 to 9.14.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.14.0/packages/js) --- updated-dependencies: - dependency-name: "@eslint/js" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps-dev): bump eslint from 9.13.0 to 9.14.0 in /client Bumps [eslint](https://github.com/eslint/eslint) from 9.13.0 to 9.14.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v9.13.0...v9.14.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps-dev): bump @vitest/coverage-v8 from 2.1.1 to 2.1.4 in /client Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.4/packages/coverage-v8) --- updated-dependencies: - dependency-name: "@vitest/coverage-v8" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * chore: update to use npm ci instead of just install --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
38 lines
685 B
Bash
38 lines
685 B
Bash
#!/bin/bash
|
|
# Client - Front-end
|
|
|
|
npm ci
|
|
if [ $? -eq 1 ]; then
|
|
echo "Issues when installing dependencies. Please review.."
|
|
exit 1
|
|
fi
|
|
|
|
if [ -z "$CHECK" ]; then
|
|
npm start
|
|
else
|
|
echo "Running checks..."
|
|
echo "1/3 - Lint started..."
|
|
npm run lint:fix
|
|
if [ $? -eq 1 ]; then
|
|
echo "Issues when running lint. Please review.."
|
|
exit 1
|
|
fi
|
|
|
|
echo "2/3 - Build started..."
|
|
npm run build
|
|
if [ $? -eq 1 ]; then
|
|
echo "Issues when running build. Please review.."
|
|
exit 1
|
|
fi
|
|
|
|
echo "3/3 - Tests started..."
|
|
npm run test
|
|
if [ $? -eq 1 ]; then
|
|
echo "Issues when running test. Please review.."
|
|
exit 1
|
|
fi
|
|
|
|
echo "You're good to go! Good job!"
|
|
exit 0
|
|
fi
|