Bump the babel group across 1 directory with 4 updates #56965
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: Unit Tests | |
| on: | |
| pull_request: | |
| branches: | |
| - '**' | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [22.x] | |
| env: | |
| CI: true | |
| LOG_LEVEL: 'error' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cache Node Modules | |
| id: cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| node_modules | |
| ws-nextjs-app/node_modules | |
| key: node-modules-${{ hashFiles('yarn.lock', 'ws-nextjs-app/yarn.lock') }} | |
| - name: Install Node Modules | |
| if: steps.cache.outputs.cache-hit != 'true' | |
| run: ./scripts/installNodeModules.sh | |
| - name: Build Simorgh - Next.JS App | |
| working-directory: ./ws-nextjs-app | |
| run: yarn build | |
| - name: Unit Tests - Express App | |
| run: yarn test:unit:ci | |
| - name: Unit Tests - Next.JS App | |
| working-directory: ./ws-nextjs-app | |
| run: yarn test |