chore: Remove most uses of "bin" from workspaces

- Replace with running scripts from a specific workspace

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-04-14 14:42:00 -04:00
1 parent ed0eba548f
commit 3aa6c1666a
9 files changed
+20 -70

No files matched your search

+3 -3
View File
@@ -23,13 +23,13 @@ jobs:
run: |
npm install
sudo apt-get install -y ripgrep
cd packages/bump-version-for-cron && npm run build
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Bump version
id: version
run: |
node packages/bump-version-for-cron/dist/index.js --path packages/core/package.json
npm run --workspace @k8slens/bump-version-for-cron build
npm run --workspace @k8slens/bump-version-for-cron bump -- --path packages/core/package.json
- name: Check if branch already exists
id: check-branch
run: git ls-remote --exit-code --tags origin v${{ steps.version.outputs.VERSION }}
@@ -77,7 +77,7 @@ jobs:
- uses: actions/checkout@v3
with:
ref: v${{ needs.create_release.outputs.version }}
- name: Use Node.js ${{ env.NODE_VERSION }}
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: "16.x"