repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps-dev): bump @cspell/eslint-plugin from 8.8.3 to 8.8.4
[poolifier.git]
/
.github
/
workflows
/
publish-package.yml
diff --git
a/.github/workflows/publish-package.yml
b/.github/workflows/publish-package.yml
index 53565257988ef94a5e2b04d161dd6ea6291549cf..3f6243c194edfebe082084ac2fa1b519a6ec282e 100644
(file)
--- a/
.github/workflows/publish-package.yml
+++ b/
.github/workflows/publish-package.yml
@@
-13,14
+13,12
@@
jobs:
uses: actions/checkout@v4
- name: Setup pnpm
uses: actions/checkout@v4
- name: Setup pnpm
- uses: pnpm/action-setup@v3
- with:
- version: 8
+ uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
- node-version:
'20.x'
+ node-version:
20.x
cache: 'pnpm'
- name: Install Dependencies
cache: 'pnpm'
- name: Install Dependencies
@@
-49,30
+47,18
@@
jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4
- - name: Setup pnpm
- uses: pnpm/action-setup@v3
- with:
- version: 8
-
- name: Setup Node.js
uses: actions/setup-node@v4
with:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
- node-version: '20.x'
- cache: 'pnpm'
-
- - name: Install Dependencies
- run: pnpm install --ignore-scripts --frozen-lockfile
+ node-version: 20.x
- name: Read package.json version
id: package-version
uses: jaywcjlove/github-action-package@main
- name: Read package.json version
id: package-version
uses: jaywcjlove/github-action-package@main
- - name: Production Build
- run: pnpm build:prod
-
- name: Publish Release
if: ${{ contains(steps.package-version.outputs.version, '-') == false }}
- name: Publish Release
if: ${{ contains(steps.package-version.outputs.version, '-') == false }}
- run: npx jsr publish
+ run: npx jsr publish
--allow-dirty
publish-npm:
needs: build
publish-npm:
needs: build
@@
-83,14
+69,12
@@
jobs:
uses: actions/checkout@v4
- name: Setup pnpm
uses: actions/checkout@v4
- name: Setup pnpm
- uses: pnpm/action-setup@v3
- with:
- version: 8
+ uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
- node-version:
'20.x'
+ node-version:
20.x
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
registry-url: https://registry.npmjs.org/
cache: 'pnpm'