Skip to content

Commit

Permalink
Fix publish workflow and bump version to 0.0.2 (#39)
Browse files Browse the repository at this point in the history
* Install package in publish workflow

* Bump version to 0.0.2

* Add pnpm to gh action

* formatting
  • Loading branch information
Peter9192 authored Sep 23, 2024
1 parent f8c3dba commit 32259c0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion apps/class-solid/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "class-solid",
"private": true,
"version": "0.0.1",
"version": "0.0.2",
"type": "module",
"scripts": {
"dev": "vinxi dev",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"version": "0.0.1",
"version": "0.0.2",
"scripts": {
"build": "turbo build",
"dev": "turbo dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/class/jsr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@classmodel/class",
"version": "0.0.1",
"version": "0.0.2",
"exports": {
".": "./src/class.ts",
"./class": "./src/class.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/class/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@classmodel/class",
"version": "0.0.1",
"version": "0.0.2",
"exports": {
"./class": "./src/class.ts",
"./config": "./src/config.ts",
Expand Down

0 comments on commit 32259c0

Please sign in to comment.