From 88534e802db4be8dc48915bd8c67720e5a16d990 Mon Sep 17 00:00:00 2001 From: Mo Date: Sun, 12 Jun 2022 22:27:28 -0500 Subject: [PATCH] chore: remove lerna-lite due to no patch: support --- .github/workflows/components.publish.yml | 4 +++ .github/workflows/publish.yml | 38 ------------------------ package.json | 3 +- 3 files changed, 5 insertions(+), 40 deletions(-) delete mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/components.publish.yml b/.github/workflows/components.publish.yml index e9ca043db..7d6a45460 100644 --- a/.github/workflows/components.publish.yml +++ b/.github/workflows/components.publish.yml @@ -1,6 +1,10 @@ name: Components Publish on: + push: + branches: [ develop, main ] + paths: + - packages/components/** workflow_dispatch: jobs: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index db9c82e6f..000000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Publish Components - -on: - push: - branches: [ develop, main ] - paths: - - packages/components/** - workflow_dispatch: - -jobs: - publish: - if: contains(github.event.head_commit.message, 'chore(release)') == false - - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - token: ${{ secrets.CI_PAT_TOKEN }} - fetch-depth: 0 - - uses: actions/setup-node@v2 - with: - registry-url: 'https://registry.npmjs.org' - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - - run: yarn install - - run: yarn build - - name: Setup git config - run: | - git config --global user.name "standardci" - git config --global user.email "ci@standardnotes.com" - - name: Import GPG key - uses: crazy-max/ghaction-import-gpg@v4 - with: - gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} - passphrase: ${{ secrets.PASSPHRASE }} - git_user_signingkey: true - git_commit_gpgsign: true - - run: yarn version-bump \ No newline at end of file diff --git a/package.json b/package.json index b3bafc579..9b2118472 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "start:server:web": "lerna run start --scope=@standardnotes/web-server", "start:server:web:localhost": "lerna run start:no-binding --scope=@standardnotes/web-server", "prepare": "husky install", - "version-bump": "lerna version --loglevel=silly --conventional-commits --yes -m \"chore(release): publish\"", + "version-bump": "lerna version --no-push --loglevel=silly --conventional-commits --yes -m \"chore(release): publish\"", "publish-packages": "lerna publish from-git --yes", "reset": "find . -type dir -name node_modules | xargs rm -rf && rm -rf yarn.lock", "version": "yarn install --no-immutable && git add yarn.lock" @@ -35,7 +35,6 @@ "@types/hoist-non-react-statics/@types/react": "17.0.2" }, "devDependencies": { - "@lerna-lite/cli": "^1.5.1", "@standardnotes/config": "^2.4.3", "@typescript-eslint/eslint-plugin": "^5.20.0", "@typescript-eslint/parser": "^5.20.0",