Skip to content

Commit

Permalink
Merge pull request #495 from folio-org/UICAL-271
Browse files Browse the repository at this point in the history
UICAL-271: Update Node.js to v18 in GitHub Actions
  • Loading branch information
danetsao authored Sep 21, 2023
2 parents 64c4230 + 5e8dd66 commit 8b38be8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
PUBLISH_MOD_DESCRIPTOR: 'true'
FOLIO_NPM_REGISTRY: 'https://repository.folio.org/repository/npm-folio/'
FOLIO_MD_REGISTRY: 'https://folio-registry.dev.folio.org'
NODEJS_VERSION: '16'
NODEJS_VERSION: '18'
JEST_JUNIT_OUTPUT_DIR: 'artifacts/jest-junit'
JEST_COVERAGE_REPORT_DIR: 'artifacts/coverage-jest/lcov-report/'
BIGTEST_JUNIT_OUTPUT_DIR: 'artifacts/runTest'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
PUBLISH_MOD_DESCRIPTOR: 'true'
FOLIO_NPM_REGISTRY: 'https://repository.folio.org/repository/npm-folioci/'
FOLIO_MD_REGISTRY: 'https://folio-registry.dev.folio.org'
NODEJS_VERSION: '16'
NODEJS_VERSION: '18'
JEST_JUNIT_OUTPUT_DIR: 'artifacts/jest-junit'
JEST_COVERAGE_REPORT_DIR: 'artifacts/coverage-jest/lcov-report/'
SQ_LCOV_REPORT: 'artifacts/coverage-jest/lcov.info'
Expand Down
4 changes: 2 additions & 2 deletions src/forms/CalendarForm/validation/validateExceptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,10 @@ export function validateExceptionInterOverlaps(
i: row.i,
startDate: dayjs
.min(row.rows.map(({ startDate }) => dayjs(startDate)))
.startOf('day'),
?.startOf('day') ?? dayjs(0),
endDate: dayjs
.max(row.rows.map(({ endDate }) => dayjs(endDate)))
.endOf('day')
?.endOf('day') ?? dayjs(0)
}));

for (let i = 0; i < rowMinMaxes.length - 1; i++) {
Expand Down

0 comments on commit 8b38be8

Please sign in to comment.