Skip to content

Commit

Permalink
ci/cd(config): fixed errors
Browse files Browse the repository at this point in the history
  • Loading branch information
thegnuu committed Feb 10, 2021
1 parent 7969839 commit c22b1c8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 18 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ jobs:
- name: Build
run: yarn build

- name: Create interfaces package
run: yarn create-interfaces-package

- name: Upload artifacts
if: contains(github.ref, 'refs/tags/v') && matrix.node-version == '14.x'
uses: actions/upload-artifact@v1
Expand Down Expand Up @@ -104,13 +101,6 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_PACKAGES_TOKEN }}

- name: Publish interfaces package
run: |
cd dist/interfaces
yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_PACKAGES_TOKEN }}

publishNpm:
name: 'Publish to npm'
runs-on: ubuntu-latest
Expand Down Expand Up @@ -142,10 +132,4 @@ jobs:
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
yarn publish --access public
- name: Publish interfaces package
run: |
cd dist/interfaces
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
yarn publish --access public
# yarn create-interfaces-package
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"betrag",
"brfs",
"c",
"cobertura",
"codecov",
"durch",
"eicher",
"empfangsschein",
Expand All @@ -27,6 +29,8 @@
"montant",
"musterstrasse",
"nameof",
"npmjs",
"npmrc",
"pagabile",
"pagamento",
"paiement",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"bundle": "run-p bundle:*",
"build": "run-s clean bundle types",
"yalc": "yarn build && yalc push",
"create-interfaces-package": "ts-node scripts/create-interfaces-package.ts",
"bbitprecommit": "run-p lint test build"
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const defaultData: IBbitQRBill = {

// create pdf
// returns a Buffer in Node.js or a Blob in browsers
const qr = new QRBillGenerator();
const qr = new BbitQRBillGenerator();
const bufferOrBlob = await qr.generate(defaultData);
```

Expand Down

0 comments on commit c22b1c8

Please sign in to comment.