Skip to content

Commit

Permalink
changes to workflow; chore: release 1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
m7rlin committed Aug 2, 2024
1 parent 1461646 commit c3baad6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@ on:

jobs:
release:
name: 🚀 release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: 📚 checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Create release
uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true

publish:
name: 🚀 release
runs-on: ubuntu-latest
strategy:
Expand All @@ -30,19 +46,14 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org
cache: 'pmpm'
cache: 'pnpm'

- name: Install dependencies
run: pmpm install
run: pnpm install

- name: Build
run: pnpm run build

- name: Create release
uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true

- name: 🚀 Publish to NPM
run: npm publish --access public
env:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.4",
"version": "1.0.5",
"type": "commonjs",
"exports": {
"./strapi-server": {
Expand Down

0 comments on commit c3baad6

Please sign in to comment.