Skip to content

Commit

Permalink
Merge pull request #5 from huuyafwww/feature/ci_optimize_and_publish_…
Browse files Browse the repository at this point in the history
…config_fix

ci optimize and publish config fix
  • Loading branch information
huuyafwww authored Nov 24, 2024
2 parents 268bf1e + 68ad4b9 commit 1d5850b
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 9 deletions.
12 changes: 10 additions & 2 deletions .github/actions/setup/pnpm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ runs:
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
name: Setup pnpm cache
- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ steps.pnpm_store_path.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
Expand All @@ -24,3 +24,11 @@ runs:
- name: Install dependencies
shell: bash
run: pnpm install --frozen-lockfile --prefer-offline

- name: Setup Turborepo cache
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-turbo-
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
},
"publishConfig": {
"access": "public",
"provenance": false
"provenance": true
}
}
2 changes: 1 addition & 1 deletion packages/eslint-config-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
},
"publishConfig": {
"access": "public",
"provenance": false
"provenance": true
}
}
2 changes: 1 addition & 1 deletion packages/eslint-config-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
},
"publishConfig": {
"access": "public",
"provenance": false
"provenance": true
}
}
2 changes: 1 addition & 1 deletion packages/eslint-config-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
},
"publishConfig": {
"access": "public",
"provenance": false
"provenance": true
}
}
2 changes: 1 addition & 1 deletion packages/eslint-config-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
},
"publishConfig": {
"access": "public",
"provenance": false
"provenance": true
}
}
2 changes: 1 addition & 1 deletion packages/eslint-config-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@
},
"publishConfig": {
"access": "public",
"provenance": false
"provenance": true
}
}
2 changes: 1 addition & 1 deletion packages/eslint-config-storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
},
"publishConfig": {
"access": "public",
"provenance": false
"provenance": true
}
}

0 comments on commit 1d5850b

Please sign in to comment.