Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

chore(workflow): netlify pnpm support and renovate.json update #33

Merged
merged 2 commits into from
Oct 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
},
"rangeStrategy": "bump",
"packageRules": [
{
"matchPackagePatterns": ["node", "@types/node", "npm", "pnpm", "yarn"],
"groupName": "engines",
"enabled": false
},
{
"matchPackagePatterns": ["eslint"],
"groupName": "eslint"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3.5.1
with:
node-version: 18
node-version-file: '.nvmrc'
cache: pnpm

- run: pnpm install --frozen-lockfile
Expand All @@ -40,7 +40,7 @@ jobs:

- uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3.5.1
with:
node-version: 18
node-version-file: '.nvmrc'
cache: pnpm

- run: pnpm install --frozen-lockfile
Expand All @@ -62,7 +62,7 @@ jobs:

- uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3.5.1
with:
node-version: 18
node-version-file: '.nvmrc'
cache: pnpm

- run: pnpm install --frozen-lockfile
Expand All @@ -81,7 +81,7 @@ jobs:

- uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3.5.1
with:
node-version: 18
node-version-file: '.nvmrc'
cache: pnpm

- run: pnpm install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3.5.1
with:
node-version: 18
node-version-file: '.nvmrc'
cache: pnpm

- run: pnpm install --frozen-lockfile
Expand Down
5 changes: 1 addition & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[build.environment]
NPM_FLAGS="--version" # prevent Netlify npm install

[build]
publish = "packages/sticky-docs/.contented/.preview/out/"
command = "npm install --location=global pnpm && pnpm install --frozen-lockfile && turbo run generate --filter=sticky-docs --force"
command = "turbo run generate --filter=sticky-docs"
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"prettier": "@birthdayresearch/sticky-prettier",
"engines": {
"node": "^18.0.0 || ^16.16.0",
"pnpm": ">=7.9.0"
"node": "^18.0.0",
"pnpm": ">=7.13.0"
}
}