Skip to content

Commit da88b93

Browse files
authored
fix: fail on cache miss in workflows [] (#2875)
* fix: fix typo in README and publish new package version [] * fix: fail on cache miss during restore build folders step []
1 parent f7034f4 commit da88b93

5 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/check.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
path: |
3030
dist
3131
key: build-cache-${{ github.run_id }}-${{ github.run_attempt }}
32+
fail-on-cache-miss: true
3233

3334
- name: Run linter
3435
run: npm run lint

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
path: |
6363
dist
6464
key: build-cache-${{ github.run_id }}-${{ github.run_attempt }}
65+
fail-on-cache-miss: true
6566

6667
- name: Run Release
6768
run: |

.github/workflows/test-demo-projects.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
path: |
3535
dist
3636
key: build-cache-${{ github.run_id }}-${{ github.run_attempt }}
37+
fail-on-cache-miss: true
3738

3839
- name: Run integration tests
3940
run: npm run test:demo-projects

.github/workflows/test-integration.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
path: |
3535
dist
3636
key: build-cache-${{ github.run_id }}-${{ github.run_attempt }}
37+
fail-on-cache-miss: true
3738

3839
- name: Run integration tests
3940
run: npm run test:integration

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ The benefits of using the "plain" version of the client, over the legacy version
225225
- It's especially important if you're using this CMA client for non-linear scripts (for example, a complex Front-end application)
226226
- All returned objects are simple Javascript objects without any wrappers. They can be easily serialized without an additional `toPlainObject` function call.
227227
- The ability to scope CMA client instance to a specific `spaceId`, `environmentId`, and `organizationId` when initializing the client.
228-
- You can pass a concrete values to `defaults` and omit specifying these params in actual CMA methods calls.
228+
- You can pass a concrete value to `defaults` and omit specifying these params in actual CMA methods calls.
229229

230230
## Cursor Based Pagination
231231

0 commit comments

Comments
 (0)