Skip to content

Commit

Permalink
fix(test): update workflow and fix check
Browse files Browse the repository at this point in the history
release-npm
  • Loading branch information
tobua committed Mar 6, 2024
1 parent 362364b commit 186e171
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
- name: 🗄️ Configure Cache
id: cache-dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}
Expand Down
2 changes: 1 addition & 1 deletion utility/configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ export const writePackageJson = async () => {
resetIgnoredProperties(contents)

// Avoid adding additional properties in CI environment.
if (!isCI && typeof jest === 'undefined') {
if (!isCI && typeof jest !== 'undefined') {
await writePackageJsonFile(contents)
}

Expand Down

0 comments on commit 186e171

Please sign in to comment.