Skip to content
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
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,15 @@ jobs:
with:
restore-turbo-cache: 'false' # in release workflow, build from scratch


- name: Build
run: yarn build

- name: Create Release Pull Request or Publish to NPM
uses: changesets/action@e9cc34b540dd3ad1b030c57fd97269e8f6ad905a # v1.4.9
with:
version: yarn version-packages
publish: yarn publish-packages
version: yarn ci:version
publish: yarn ci:publish
commit: 'chore(release): version packages'
title: 'chore(release): version packages'
env:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"build": "turbo run build",
"dev": "yarn workspaces foreach -Api run dev",
"release": "release-it --config packages/react-native-brownfield/.release-it.json",
"version-packages": "changeset version && yarn install --no-immutable",
"publish-packages": "turbo run build lint && changeset version && changeset publish",
"ci:version": "changeset version && yarn install --no-immutable",
"ci:publish": "yarn workspaces foreach -At yarn npm publish && changeset tag",
"brownfield:plugin:publish:local": "bash ./gradle-plugins/publish-to-maven-local.sh",
"build:brownfield": "turbo run build:brownfield",
"build:docs": "turbo run build:docs",
Expand Down