chore(deps-dev): bump ol in the map group across 1 directory #2654
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: Run automated tests | |
| on: push | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| setup: | |
| name: Install dependencies | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: 24.15.0 | |
| registry-url: https://registry.npmjs.org/ | |
| cache: 'npm' | |
| - name: Cache node_modules | |
| id: node-modules-cache | |
| uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 | |
| with: | |
| path: node_modules | |
| key: node-modules-${{ runner.os }}-node24.15.0-${{ hashFiles('package-lock.json', 'patches/**') }} | |
| - name: Install NPM dependencies | |
| if: steps.node-modules-cache.outputs.cache-hit != 'true' | |
| run: npm ci --prefer-offline --no-audit --no-fund | |
| lint: | |
| name: Linting | |
| needs: setup | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: 24.15.0 | |
| registry-url: https://registry.npmjs.org/ | |
| - name: Restore node_modules | |
| id: node-modules-cache | |
| uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 | |
| with: | |
| path: node_modules | |
| key: node-modules-${{ runner.os }}-node24.15.0-${{ hashFiles('package-lock.json', 'patches/**') }} | |
| - name: Install NPM dependencies (cache miss fallback) | |
| if: steps.node-modules-cache.outputs.cache-hit != 'true' | |
| run: npm ci --prefer-offline --no-audit --no-fund | |
| - name: Restore ESLint cache | |
| uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 | |
| with: | |
| path: .eslintcache | |
| key: eslint-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('eslint.config.ts') }}-${{ github.sha }} | |
| restore-keys: | | |
| eslint-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('eslint.config.ts') }}- | |
| eslint-${{ runner.os }}-${{ github.ref }}- | |
| eslint-${{ runner.os }}- | |
| - name: Run linter | |
| run: npm run lint | |
| lintcss: | |
| name: CSS linting | |
| needs: setup | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: 24.15.0 | |
| registry-url: https://registry.npmjs.org/ | |
| - name: Restore node_modules | |
| id: node-modules-cache | |
| uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 | |
| with: | |
| path: node_modules | |
| key: node-modules-${{ runner.os }}-node24.15.0-${{ hashFiles('package-lock.json', 'patches/**') }} | |
| - name: Install NPM dependencies (cache miss fallback) | |
| if: steps.node-modules-cache.outputs.cache-hit != 'true' | |
| run: npm ci --prefer-offline --no-audit --no-fund | |
| - name: Run CSS linter | |
| run: npm run lint:css | |
| test: | |
| name: Unit tests and e2e tests | |
| needs: setup | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: 24.15.0 | |
| registry-url: https://registry.npmjs.org/ | |
| - name: Restore node_modules | |
| id: node-modules-cache | |
| uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 | |
| with: | |
| path: node_modules | |
| key: node-modules-${{ runner.os }}-node24.15.0-${{ hashFiles('package-lock.json', 'patches/**') }} | |
| - name: Install NPM dependencies (cache miss fallback) | |
| if: steps.node-modules-cache.outputs.cache-hit != 'true' | |
| run: npm ci --prefer-offline --no-audit --no-fund | |
| - name: Run tests | |
| run: npm run test:ci | |
| type-check: | |
| name: Type-checking | |
| needs: setup | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: 24.15.0 | |
| registry-url: https://registry.npmjs.org/ | |
| - name: Restore node_modules | |
| id: node-modules-cache | |
| uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 | |
| with: | |
| path: node_modules | |
| key: node-modules-${{ runner.os }}-node24.15.0-${{ hashFiles('package-lock.json', 'patches/**') }} | |
| - name: Install NPM dependencies (cache miss fallback) | |
| if: steps.node-modules-cache.outputs.cache-hit != 'true' | |
| run: npm ci --prefer-offline --no-audit --no-fund | |
| - name: Run type-checking | |
| run: npm run tsc:ci |