fix(deps): update npm - license-inventory - experimental/license-inventory/package.json #727
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 - experimental - inventory | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - experimental/license-inventory/** | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - experimental/license-inventory/** | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20.x] | |
| mongodb-version: [4.4] | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Start MongoDB | |
| uses: supercharge/mongodb-github-action@90004df786821b6308fb02299e5835d0dae05d0d # 1.12.0 | |
| with: | |
| mongodb-version: ${{ matrix.mongodb-version }} | |
| - name: Install dependencies | |
| working-directory: ./experimental/license-inventory | |
| run: npm ci | |
| - name: Test | |
| working-directory: ./experimental/license-inventory | |
| run: | | |
| MONGO_URI="mongodb://localhost:27017/inventory" npm run test |