Skip to content

Commit

Permalink
[#181] Update test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
nvminhtue committed Jan 25, 2024
1 parent db03832 commit 96f982d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test-generated-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
cache: 'npm'

- name: Cache Node npm
id: cache-nodemodules
uses: actions/cache@v3
with:
path: node_modules
Expand All @@ -35,6 +36,7 @@ jobs:
${{ runner.os }}-infrastructure-templates
- name: Install modules
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
run: npm ci

- name: Generate project
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
cache: 'npm'

- name: Cache Node npm
id: cache-nodemodules
uses: actions/cache@v3
with:
path: node_modules
Expand All @@ -31,6 +32,7 @@ jobs:
${{ runner.os }}-infrastructure-templates
- name: Install modules
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
run: npm ci

- name: Run tests
Expand Down

0 comments on commit 96f982d

Please sign in to comment.