Skip to content

Commit 0fde62e

Browse files
committed
fix: update release from rush to nx
1 parent 24d8e6e commit 0fde62e

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/call-release.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222
with:
2323
node-version: '18.18.0'
2424

25-
- name: cache rush
25+
- name: cache nx
2626
id: cache
2727
uses: actions/cache@v3.2.2
2828
with:
2929
path: common/temp
30-
key: ${{ runner.os }}-build-branch-${{ hashFiles('common/config/rush/repo-state.json') }}
30+
key: ${{ runner.os }}-build-branch-${{ hashFiles('.nx/lockfile.hash') }}
3131
restore-keys: |
3232
${{ runner.os }}-build-pr-
3333
${{ runner.os }}-build-
@@ -38,35 +38,35 @@ jobs:
3838
git config user.name github-actions
3939
git config user.email github-actions@github.com
4040
41-
- name: install pnpm needed for cdk NodeJsFunction esbuild
41+
- name: install pnpm
4242
run: npm install --global pnpm@8.13.1
4343

44-
- name: rush install
45-
run: node common/scripts/install-run-rush.js install -p
44+
- name: package install
45+
run: pnpm install
4646

47-
- name: rush build
48-
run: node common/scripts/install-run-rush.js build
47+
- name: nx build
48+
run: pnpm nx run-many -t build --all --output-style=static
4949

50-
- name: rush artifact
51-
run: node common/scripts/install-run-rush.js artifact
50+
- name: nx artifact
51+
run: pnpm nx run-many -t artifact --all
5252

5353
- name: Upload items to Github Release
5454
uses: ncipollo/release-action@v1
5555
with:
5656
tag: ${{ github.ref_name }}
5757
body: |
58-
# New Release: [cats-cradle ${{ github.ref_name }}](https://www.npmjs.com/search?q=%40cats-cradle),
58+
# New Release: [galaxyops ${{ github.ref_name }}](https://www.npmjs.com/search?q=%40galaxyops),
5959
60-
We're pleased to share our latest release of service packages. This release is comprised of multiple zip files. Each zip file housing a distinct, deploy-ready project from cats-cradle including source code and the Infrastructure as Code.
60+
We're pleased to share our latest release of service packages. This release is comprised of multiple zip files. Each zip file housing a distinct, deploy-ready project from @galaxyops including source code and the Infrastructure as Code.
6161
6262
We warmly invite you to delve into the contents of this release, offer your valuable feedback, and actively engage in our project on GitHub. Your contributions and active participation are fundamental to our ongoing efforts to enhance and refine our offerings.
6363
64-
> **Note**: We frequently release library and platform packages independently on [NPM](https://www.npmjs.com/search?q=%40cats-cradle) when any changes are made.
64+
> **Note**: We frequently release library and platform packages independently on [NPM](https://www.npmjs.com/search?q=%40galaxyops) when any changes are made.
6565
66-
artifacts: 'common/temp/dist/*.zip'
66+
artifacts: 'dist/*.zip'
6767
prerelease: false
6868
draft: true
6969
generateReleaseNotes: true
7070
token: ${{ github.token }}
7171
owner: hxtree
72-
repo: cats-cradle
72+
repo: galaxyops

0 commit comments

Comments
 (0)