Skip to content

Conversation

@kbcki
Copy link
Member

@kbcki kbcki commented Jul 10, 2025

General idea:

  • PRs – build docs and lib
  • Push to release/** – release docs (prod) and npm lib
  • Push do main – release docs (dev)

@kbcki kbcki force-pushed the RFL-106-axiom-create-dev-environment branch from 3ee6b8a to bb813cc Compare July 10, 2025 13:41
@kbcki kbcki changed the title [WIP] Add workflows Add workflows Jul 10, 2025
skip_api_build: true
deployment_environment: 'dev'
env:
CUSTOM_BUILD_COMMAND: corepack enable && corepack prepare [email protected] --activate && pnpm install --frozen-lockfile && pnpm ui build && pnpm website build
Copy link
Contributor

@librowski-synergy librowski-synergy Jul 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, could you change the
corepack enable && corepack prepare [email protected] --activate
to
npm i -g corepack@latest && corepack prepare here and in other occurences?

It'd bulletproof the solution for upcoming versions of node that won't bundle corepack and on top of that it'd install pnpm with proper version taken from packageManager field in package.json.

id: version-check
run: |
CURRENT_VERSION=$(node -p "require('./package.json').version")
PUBLISHED_VERSION=$(npm view @axiomhq/axiom-ui-components version 2>/dev/null || echo "0.0.0")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@axiomhq/axiom-ui-components -> @synergycodes/axiom :)

@kbcki kbcki merged commit f3c7767 into main Jul 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants