Skip to content

Commit

Permalink
fix publish release
Browse files Browse the repository at this point in the history
  • Loading branch information
ellyofreitas committed May 15, 2024
1 parent d7ab912 commit 878e4a0
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 15 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/prebuild-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,17 @@ jobs:
sudo apt-get update -y -qq
sudo apt-get install -y g++-multilib gcc-multilib libcups2-dev libcups2-dev:i386 libc6-dev-i386 linux-libc-dev linux-libc-dev:i386
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: pip
- name: Install Python setup tools
run: pip install setuptools
- uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: https://npm.pkg.github.com
scope: '@casamagalhaes'
scope: '@grupoboticario'
cache: npm
- run: npm install-ci-test
- name: Set release version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
node-version: 18.x
registry-url: https://npm.pkg.github.com
scope: '@casamagalhaes'
scope: '@grupoboticario'
cache: npm
- run: npm ci
- name: Set release version
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
registry-url: https://npm.pkg.github.com
scope: '@casamagalhaes'
scope: '@grupoboticario'
cache: npm
- name: Bump release version
if: github.event.release.prerelease != true
Expand Down
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@casamagalhaes:registry = https://npm.pkg.github.com/
@grupoboticario:registry = https://npm.pkg.github.com/
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ Node Printer Prebuild
============
Native bind printers on POSIX and Windows OS from Node.js, electron and node-webkit.

[![npm version](https://badge.fury.io/js/@casamagalhaes%2Fnode-printer.svg)](https://www.npmjs.com/package/@casamagalhaes/node-printer) [![Prebuild Binaries and Publish](https://github.com/casamagalhaes/node-printer/actions/workflows/prebuild-main.yml/badge.svg)](https://github.com/casamagalhaes/node-printer/actions/workflows/prebuild-main.yml)
[![npm version](https://badge.fury.io/js/@grupoboticario%2Fnode-printer.svg)](https://www.npmjs.com/package/@grupoboticario/node-printer) [![Prebuild Binaries and Publish](https://github.com/grupoboticario/node-printer/actions/workflows/prebuild-main.yml/badge.svg)](https://github.com/grupoboticario/node-printer/actions/workflows/prebuild-main.yml)

> Prebuild and CI integration courtesy of @ekoeryanto in his [FORK](https://github.com/ekoeryanto/node-printer)
If you have a problem, ask question to [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/tojocky/node-printer?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) or find/create a new [Github issue](https://github.com/casamagalhaes/node-printer/issues)
If you have a problem, ask question to [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/tojocky/node-printer?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) or find/create a new [Github issue](https://github.com/grupoboticario/node-printer/issues)

___
### **Below is the original README**
Expand Down Expand Up @@ -37,20 +37,20 @@ I was involved in a project where I need to print from Node.JS. This is the reas

### How to install:
```
npm install @casamagalhaes/node-printer
npm install @grupoboticario/node-printer
```

### How to use:

See [examples](https://github.com/casamagalhaes/node-printer/tree/main/examples)
See [examples](https://github.com/grupoboticario/node-printer/tree/main/examples)

### Author(s):

* Ion Lupascu, ionlupascu@gmail.com

### Contibutors:

* Thiago Lugli, @casamagalhaes
* Thiago Lugli, @grupoboticario
* Eko Eryanto, @ekoeryanto

Feel free to download, test and propose new futures
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@casamagalhaes/node-printer",
"name": "@grupoboticario/node-printer",
"description": "Node.js printer bindings",
"version": "0.0.0-dev",
"homepage": "https://github.com/casamagalhaes/node-printer",
"homepage": "https://github.com/grupoboticario/node-printer",
"author": {
"name": "Ion Lupascu",
"url": "http://program-support.co.uk/",
Expand All @@ -14,7 +14,7 @@
],
"repository": {
"type": "git",
"url": "git://github.com/casamagalhaes/node-printer.git"
"url": "git://github.com/grupoboticario/node-printer.git"
},
"devDependencies": {
"node-abi": "^3.47.0",
Expand All @@ -36,7 +36,7 @@
"binary": {
"module_name": "node_printer",
"module_path": "./lib/",
"host": "https://github.com/casamagalhaes/node-printer/releases/download/",
"host": "https://github.com/grupoboticario/node-printer/releases/download/",
"remote_path": "{version}"
},
"licenses": [
Expand Down

0 comments on commit 878e4a0

Please sign in to comment.