Skip to content

Commit

Permalink
chore: Update npm dependencies and build process
Browse files Browse the repository at this point in the history
  • Loading branch information
german-egg committed Jun 3, 2024
1 parent 1a5597e commit dbdf3f5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/publish-jsr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,28 @@ jobs:
permissions:
contents: read
id-token: write
strategy:
matrix:
node-version: [20.x]

steps:
- name: 🔗 Checkout
uses: actions/checkout@v4

- name: 🔩 Install dependencies
run: npm ci
- name: 📥 Install pnpm
uses: pnpm/action-setup@v4

- name: 🛠️ Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: 📥 Install dependencies
run: pnpm install

- name: 🏗️ Build app
run: pnpm run build

- name: 📦 Publish package on JSR
run: npx jsr publish --allow-slow-types
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@galiprandi/react-tools",
"version": "2.0.1",
"version": "2.0.2",
"exports": "./lib/main.ts"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@galiprandi/react-tools",
"author": "Germán Aliprandi",
"private": false,
"version": "2.0.1",
"version": "2.0.2",
"type": "module",
"main": "dist/main.js",
"types": "dist/main.d.ts",
Expand Down

0 comments on commit dbdf3f5

Please sign in to comment.