X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=.github%2Fworkflows%2Fpublish-package.yml;h=3f6243c194edfebe082084ac2fa1b519a6ec282e;hb=f48170aa0c8d2c5555b973ae2e040d04435ace47;hp=5a0c6c83bc14a26291f03a11e564384945e052d9;hpb=ad60686db7cfd5d7c5f30d320cb64313210bd598;p=poolifier.git diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 5a0c6c83..3f6243c1 100644 --- 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: pnpm/action-setup@v3 - with: - version: 8 + uses: pnpm/action-setup@v4 - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: 20.x cache: 'pnpm' - name: Install Dependencies @@ -49,27 +47,15 @@ jobs: - 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: - 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: Production Build - # run: pnpm build:prod - - name: Publish Release if: ${{ contains(steps.package-version.outputs.version, '-') == false }} run: npx jsr publish --allow-dirty @@ -83,14 +69,12 @@ jobs: 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: - node-version: '20.x' + node-version: 20.x registry-url: https://registry.npmjs.org/ cache: 'pnpm'