Skip to content

Commit c3baad6

Browse files
committed
changes to workflow; chore: release 1.0.5
1 parent 1461646 commit c3baad6

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

.github/workflows/release.yml

+18-7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,22 @@ on:
77

88
jobs:
99
release:
10+
name: 🚀 release
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
steps:
15+
- name: 📚 checkout
16+
uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Create release
21+
uses: ncipollo/release-action@v1
22+
with:
23+
generateReleaseNotes: true
24+
25+
publish:
1026
name: 🚀 release
1127
runs-on: ubuntu-latest
1228
strategy:
@@ -30,19 +46,14 @@ jobs:
3046
with:
3147
node-version: ${{ matrix.node-version }}
3248
registry-url: https://registry.npmjs.org
33-
cache: 'pmpm'
49+
cache: 'pnpm'
3450

3551
- name: Install dependencies
36-
run: pmpm install
52+
run: pnpm install
3753

3854
- name: Build
3955
run: pnpm run build
4056

41-
- name: Create release
42-
uses: ncipollo/release-action@v1
43-
with:
44-
generateReleaseNotes: true
45-
4657
- name: 🚀 Publish to NPM
4758
run: npm publish --access public
4859
env:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.0.4",
2+
"version": "1.0.5",
33
"type": "commonjs",
44
"exports": {
55
"./strapi-server": {

0 commit comments

Comments
 (0)