nfse-brazil-national 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,10 +18,12 @@ jobs:
18
18
  - run: npm ci
19
19
  - run: npm test
20
20
 
21
- publish-gpr:
21
+ publish-github-packages:
22
22
  needs: build
23
23
  runs-on: ubuntu-latest
24
+ environment: production
24
25
  permissions:
26
+ id-token: write
25
27
  contents: read
26
28
  packages: write
27
29
  steps:
@@ -30,10 +32,12 @@ jobs:
30
32
  with:
31
33
  node-version: 20
32
34
  registry-url: https://npm.pkg.github.com/
35
+ scope: '@flaviolacer'
33
36
  - run: npm ci
37
+ - run: npm pkg set name=@flaviolacer/nfse-brazil-national
34
38
  - run: npm publish
35
39
  env:
36
- NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
40
+ NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37
41
 
38
42
  publish-npm:
39
43
  needs: build
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nfse-brazil-national",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Biblioteca cliente para integração com a API Nacional da NFS-e (Nota Fiscal de Serviço Eletrônica) do Brasil.",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",