Skip to content

Commit

Permalink
Merge pull request #75 from BeeInventor/develop
Browse files Browse the repository at this point in the history
fix: not find release module
  • Loading branch information
steven11329 authored Oct 29, 2024
2 parents be27d12 + 9ecdf2f commit 2cf3ada
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,7 @@ on:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- uses: pnpm/action-setup@v4
with:
version: 9
- run: pnpm i
- run: pnpm build

publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
packages: write
Expand All @@ -31,6 +17,11 @@ jobs:
node-version: 20
registry-url: https://npm.pkg.github.com/
scope: '@beeinventor'
- uses: pnpm/action-setup@v4
with:
version: 9
- run: pnpm i
- run: pnpm build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"name": "@beeinventor/dasiot-react-component-lib",
"version": "1.9.0",
"module": "lib/index.js",
"types": "lib/index.d.ts",
"type": "module",
"files": [
"lib",
Expand Down

0 comments on commit 2cf3ada

Please sign in to comment.