Skip to content

Commit

Permalink
fix: Updated Yarn to v3.6.4 and updated CI/CD configuration file (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
lotharking authored Feb 12, 2025
1 parent 0b95415 commit 117abdb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,12 @@ jobs:
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
# Persist token
echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" >> ~/.npmrc
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > ~/.npmrc
yarn config set npmAuthToken ${NPM_AUTH_TOKEN}
yarn workspaces foreach --topological version $RELEASE_VERSION
yarn workspace @2060.io/service-agent-main add @2060.io/service-agent-model@$RELEASE_VERSION
yarn workspace @2060.io/service-agent-client add @2060.io/service-agent-model@$RELEASE_VERSION
yarn workspace @2060.io/service-agent-nestjs-client add @2060.io/service-agent-model@$RELEASE_VERSION
yarn workspace @2060.io/service-agent-nestjs-client add @2060.io/service-agent-client@$RELEASE_VERSION
yarn install
yarn publish
yarn up @2060.io/service-agent-model@$RELEASE_VERSION
yarn up @2060.io/service-agent-client@$RELEASE_VERSION
yarn workspaces foreach --topological --no-private --exclude @2060.io/service-agent-main npm publish
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
steps:
- name: Checkout service-agent
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup node v20
uses: actions/setup-node@v4
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"check-format": "prettier -c \"packages/*/src/**/*.ts\"",
"test": "yarn workspaces foreach run test",
"lint": "eslint \"{packages,apps,libs}/**/*.ts\" --fix",
"publish": "yarn workspaces foreach --no-private --exclude @2060.io/service-agent-main --topological npm publish",
"validate": "yarn lint && yarn check-types && yarn check-format"
},
"devDependencies": {
Expand Down

0 comments on commit 117abdb

Please sign in to comment.