Skip to content

Commit

Permalink
ci: use workspace-tools plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
scolladon committed May 16, 2023
1 parent 6858de7 commit faf6883
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/linters/.cspell.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"ignorePaths": [
"CHANGELOG.md",
"CHANGELOG.md",
"**/node_modules/**",
"**/.git/**",
".vscode",
"megalinter",
"yarn.lock",
"report"
"**/yarn.lock",
"**/.yarnrc.yml"
],
"language": "en",
"noConfigSearch": true,
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:

- name: Install dependencies in production mode
working-directory: ./plugin
run: yarn install --immutable --immutable-cache --check-cache --prod
run: yarn workspaces focus --all --production
shell: bash

- name: Install build dependencies
Expand All @@ -172,6 +172,7 @@ jobs:
- name: Install plugin
working-directory: ./plugin
run: |
yarn set version classic
sfdx plugins:link .
sfdx plugins
Expand Down
28 changes: 28 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-3.5.1.cjs

0 comments on commit faf6883

Please sign in to comment.