build(deps): bump lodash from 4.17.21 to 4.17.23 #924
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: tests | |
| on: [push, pull_request] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| jobs: | |
| unit-tests: | |
| runs-on: [ ubuntu-latest ] | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: [ 18, 20, "lts/*" ] | |
| package: | |
| - name: "@kopflos-cms/core" | |
| path: packages/core | |
| - name: "@kopflos-cms/express" | |
| path: packages/express | |
| - name: "@kopflos-cms/plugin-deploy-resources" | |
| path: packages/plugin-deploy-resources | |
| - name: "@kopflos-cms/serve-file" | |
| path: packages/serve-file | |
| - name: "@kopflos-cms/hydra" | |
| path: packages/hydra | |
| - name: "@kopflos-cms/shacl" | |
| path: packages/shacl | |
| - name: "@kopflos-cms/vite" | |
| path: packages/vite | |
| - name: "@kopflos-labs/html-template" | |
| path: labs/html-template | |
| - name: "@kopflos-labs/handlebars" | |
| path: labs/handlebars | |
| - name: sparql-path-parser | |
| path: packages/sparql-path-parser | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: fabasoad/setup-prolog-action@v1 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - run: npm ci | |
| - run: npx c8 --all --src ${{ matrix.package.path }} --reporter lcovonly --reporter text npm run -w ${{ matrix.package.path }} test | |
| - name: Codecov | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| flags: ${{ matrix.package.name }} | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: fabasoad/setup-prolog-action@v1 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| - run: npm ci | |
| - run: npm run lint | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: fabasoad/setup-prolog-action@v1 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| - run: npm ci | |
| - run: npm run -ws --if-present build | |
| smoke-test-example: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: fabasoad/setup-prolog-action@v1 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| - run: npm ci | |
| - run: docker compose up -d | |
| working-directory: example | |
| - run: npm run -w example start & | |
| - run: npx wait-on http://localhost:1429/plaque/newton-s-apple-tree-monash-university -t 30000 | |
| - run: npm run -w example test -- --debug --raw |