Skip to content

Commit

Permalink
Merge pull request #9 from xibosignage/feature/package-public-r3
Browse files Browse the repository at this point in the history
Fix for npm publish
  • Loading branch information
dasgarner authored Oct 10, 2024
2 parents 8e7f2b3 + c9fc4e3 commit de015a0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
scope: '@xibosignage'
- run: npm ci
- run: npm run build
- run: npm publish --provenance --access public
- name: Install dependencies and build 🔧
run: npm ci && npm run build
- name: Publish package on NPM 📦
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
"build": "rimraf dist && rollup --config rollup.config.prod.ts --configPlugin @rollup/plugin-typescript",
"dev": "rimraf dist && rollup --config rollup.config.dev.ts -w --configPlugin @rollup/plugin-typescript"
},
"repository": "git+https://github.com/xibosignage/xibo-layout-renderer.git",
"repository": {
"type": "git",
"url": "git+https://github.com/xibosignage/xibo-layout-renderer.git"
},
"files": [
"dist/"
],
Expand Down

0 comments on commit de015a0

Please sign in to comment.