Skip to content

Commit e0386aa

Browse files
Merge pull request #213 from vintasoftware/im/publish-action
chore: update publish workflow
2 parents 8d4a020 + 98d9e6d commit e0386aa

1 file changed

Lines changed: 7 additions & 12 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77

88
permissions:
9-
id-token: write # Required for OIDC
9+
id-token: write # Required for OIDC
1010
contents: read
1111

1212
jobs:
@@ -26,8 +26,9 @@ jobs:
2626

2727
- name: Install dependencies
2828
run: |
29-
python -m pip install --upgrade pip
30-
pip install poetry
29+
sudo apt install pipx
30+
pipx ensurepath
31+
pipx install poetry==1.8.5
3132
poetry install --with dev --no-interaction
3233
3334
- name: Build package
@@ -51,12 +52,6 @@ jobs:
5152
- name: Checkout code
5253
uses: actions/checkout@v4
5354

54-
- name: Install pnpm
55-
uses: pnpm/action-setup@v4
56-
with:
57-
version: 9
58-
run_install: false
59-
6055
- name: Set up Node.js
6156
uses: actions/setup-node@v4
6257
with:
@@ -66,14 +61,14 @@ jobs:
6661
- name: Install dependencies
6762
working-directory: ./frontend
6863
run: |
69-
pnpm install
64+
npm install
7065
7166
- name: Build package
7267
working-directory: ./frontend
7368
run: |
74-
pnpm run build
69+
npm run build
7570
7671
- name: Publish package distributions to npm
7772
working-directory: ./frontend
7873
run: |
79-
pnpm publish --no-git-checks
74+
npm publish

0 commit comments

Comments
 (0)