Skip to content
Merged
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
19 changes: 7 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

permissions:
id-token: write # Required for OIDC
id-token: write # Required for OIDC
contents: read

jobs:
Expand All @@ -26,8 +26,9 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
sudo apt install pipx
pipx ensurepath
pipx install poetry==1.8.5
poetry install --with dev --no-interaction

- name: Build package
Expand All @@ -51,12 +52,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: false

- name: Set up Node.js
uses: actions/setup-node@v4
with:
Expand All @@ -66,14 +61,14 @@ jobs:
- name: Install dependencies
working-directory: ./frontend
run: |
pnpm install
npm install

- name: Build package
working-directory: ./frontend
run: |
pnpm run build
npm run build

- name: Publish package distributions to npm
working-directory: ./frontend
run: |
pnpm publish --no-git-checks
npm publish