X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=.github%2Fworkflows%2Fpublish-package.yml;h=aa6d4f6aba5e4be88f2493a9e9b22100397d7edd;hb=281c4c4798ff3366a0efb1f65a80b451804bedab;hp=ef3fc5fe24cd533810431f0da32be922f0934447;hpb=41e3e08eb7fbcde0a69cea17e697aacb222990a6;p=poolifier.git diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index ef3fc5fe..aa6d4f6a 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -1,4 +1,4 @@ -name: Publish package +name: Publish npm package on: release: @@ -13,18 +13,18 @@ jobs: uses: actions/checkout@v4 - name: Setup pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v3 with: version: 8 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '20.x' cache: 'pnpm' - name: Install Dependencies - run: pnpm install --ignore-scripts + run: pnpm install --ignore-scripts --frozen-lockfile - name: Tests & Coverage run: | @@ -46,19 +46,19 @@ jobs: uses: actions/checkout@v4 - name: Setup pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v3 with: version: 8 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '20.x' registry-url: https://registry.npmjs.org/ cache: 'pnpm' - name: Install Dependencies - run: pnpm install --ignore-scripts + run: pnpm install --ignore-scripts --frozen-lockfile - name: Read package.json version id: package-version @@ -94,19 +94,19 @@ jobs: # uses: actions/checkout@v4 # - name: Setup pnpm - # uses: pnpm/action-setup@v2 + # uses: pnpm/action-setup@v3 # with: # version: 8 # - name: Setup Node.js - # uses: actions/setup-node@v3 + # uses: actions/setup-node@v4 # with: - # node-version: '18.x' + # node-version: '20.x' # registry-url: https://npm.pkg.github.com # cache: 'pnpm' # - name: Install Dependencies - # run: pnpm install --ignore-scripts + # run: pnpm install --ignore-scripts --frozen-lockfile # - name: Read package.json version # id: package-version