Bump react-datepicker from 8.4.0 to 8.7.0 #30
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: {} | |
| jobs: | |
| test: | |
| name: Test / Lint / Matrix | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node: [18.x, 20.x] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Lint | |
| run: npm run lint --if-present | |
| - name: Run tests (Jest) | |
| run: | | |
| # Run tests if present. Allow non-zero exit so CI can still upload artifacts. | |
| if npm run -s test --silent --if-present; then | |
| echo "tests completed"; | |
| else | |
| echo "tests finished with errors"; | |
| fi | |
| - name: Upload test results (if produced) | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: junit-results | |
| path: | | |
| junit.xml | |
| test-results/**/*.xml | |
| jest-junit.xml | |
| - name: Upload coverage (if produced) | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage | |
| path: | | |
| coverage/** | |
| coverage.xml |