From 32259c0fc9515b09fef4f5f0863a4bb07fac3a5b Mon Sep 17 00:00:00 2001 From: Peter Kalverla Date: Mon, 23 Sep 2024 13:22:34 +0200 Subject: [PATCH] Fix publish workflow and bump version to 0.0.2 (#39) * Install package in publish workflow * Bump version to 0.0.2 * Add pnpm to gh action * formatting --- .github/workflows/publish-package.yml | 6 +++++- apps/class-solid/package.json | 2 +- package.json | 2 +- packages/class/jsr.json | 2 +- packages/class/package.json | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 0bd0d2f..413ebdf 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -9,12 +9,16 @@ jobs: runs-on: ubuntu-latest permissions: contents: read - id-token: write # The OIDC ID token is used for authentication with JSR. + id-token: write # The OIDC ID token is used for authentication with JSR. steps: + - uses: pnpm/action-setup@v2 + with: + version: latest - uses: actions/checkout@v4 - name: Setup Node uses: actions/setup-node@v4 with: node-version: "20" + - run: pnpm install - run: npx jsr publish --allow-slow-types working-directory: packages/class diff --git a/apps/class-solid/package.json b/apps/class-solid/package.json index ff2cd50..ab65c13 100644 --- a/apps/class-solid/package.json +++ b/apps/class-solid/package.json @@ -1,7 +1,7 @@ { "name": "class-solid", "private": true, - "version": "0.0.1", + "version": "0.0.2", "type": "module", "scripts": { "dev": "vinxi dev", diff --git a/package.json b/package.json index 2c35aeb..19964db 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "private": true, - "version": "0.0.1", + "version": "0.0.2", "scripts": { "build": "turbo build", "dev": "turbo dev", diff --git a/packages/class/jsr.json b/packages/class/jsr.json index 816d916..5e1c935 100644 --- a/packages/class/jsr.json +++ b/packages/class/jsr.json @@ -1,6 +1,6 @@ { "name": "@classmodel/class", - "version": "0.0.1", + "version": "0.0.2", "exports": { ".": "./src/class.ts", "./class": "./src/class.ts", diff --git a/packages/class/package.json b/packages/class/package.json index ebf12a3..8d8839c 100644 --- a/packages/class/package.json +++ b/packages/class/package.json @@ -1,6 +1,6 @@ { "name": "@classmodel/class", - "version": "0.0.1", + "version": "0.0.2", "exports": { "./class": "./src/class.ts", "./config": "./src/config.ts",