Skip to content

Commit

Permalink
correct new workflows from merge to use pnpm
Browse files Browse the repository at this point in the history
Signed-off-by: Rudy Flores <[email protected]>
  • Loading branch information
rudyflores committed Sep 22, 2023
1 parent 25d2212 commit ffd0aad
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/zowe-explorer-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

# install yarn
- run: npm install -g yarn
# install pnpm
- run: npm install -g pnpm

- run: for dir in samples/*; do pushd $dir && yarn && yarn run compile && popd; done
- run: for dir in samples/*; do pushd $dir && pnpm i && pnpm run compile && popd; done
shell: bash
4 changes: 2 additions & 2 deletions samples/menu-item-sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ In "extension.ts" a command is registered which runs when the menu item is click
## Running the sample

- Open this sample in VS Code
- `yarn`
- `yarn run compile`
- `pnpm i`
- `pnpm run compile`
- `F5` to start debugging
2 changes: 1 addition & 1 deletion samples/menu-item-sample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"Zowe.vscode-extension-for-zowe"
],
"scripts": {
"vscode:prepublish": "yarn run compile",
"vscode:prepublish": "pnpm run compile",
"compile": "tsc -p ./",
"lint": "eslint \"src/**/*.ts\"",
"watch": "tsc -watch -p ./"
Expand Down
4 changes: 2 additions & 2 deletions samples/tree-view-sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ In "extension.ts" the tree view is configured to use [`ProfilesTreeProvider`](/s
## Running the sample

- Open this sample in VS Code
- `yarn`
- `yarn run compile`
- `pnpm i`
- `pnpm run compile`
- `F5` to start debugging
2 changes: 1 addition & 1 deletion samples/tree-view-sample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"Zowe.vscode-extension-for-zowe"
],
"scripts": {
"vscode:prepublish": "yarn run compile",
"vscode:prepublish": "pnpm run compile",
"compile": "tsc -p ./",
"lint": "eslint \"src/**/*.ts\"",
"watch": "tsc -watch -p ./"
Expand Down
4 changes: 2 additions & 2 deletions samples/uss-profile-sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ In "extension.ts" the Zowe Explorer API is used to load SSH profiles, and [`SshU
## Running the sample

- Open this sample in VS Code
- `yarn`
- `yarn run compile`
- `pnpm`
- `pnpm run compile`
- `F5` to start debugging
2 changes: 1 addition & 1 deletion samples/uss-profile-sample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"Zowe.vscode-extension-for-zowe"
],
"scripts": {
"vscode:prepublish": "yarn run compile",
"vscode:prepublish": "pnpm run compile",
"compile": "tsc -p ./",
"lint": "eslint \"src/**/*.ts\"",
"watch": "tsc -watch -p ./"
Expand Down

0 comments on commit ffd0aad

Please sign in to comment.