Skip to content

Commit

Permalink
update workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
janapc committed Feb 19, 2024
1 parent 48e478e commit d30be2f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,21 @@ jobs:
- name: analyze in the lambda folder
working-directory: lambda
run: npm ci && npm run linter
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run unit tests
uses: actions/setup-node@v3
with:
node-version: ${{env.NODE_VERSION}}
cache: "npm"
cache-dependency-path: |
catalog/package-lock.json
lambda/package-lock.json
- name: run testing in the catalog folder
working-directory: catalog
run: npm ci && npm run test
- name: run testing in the lambda folder
working-directory: lambda
run: npm ci && npm run test

0 comments on commit d30be2f

Please sign in to comment.