@stoprocent/noble 1.11.7 → 1.11.8

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.
@@ -43,24 +43,29 @@ jobs:
43
43
  - run: npm install --ignore-scripts
44
44
  - run: npm run prebuild-${{ matrix.name }}
45
45
  - run: tar -zcvf ${{ matrix.name }}.tar.gz -C prebuilds .
46
- - uses: actions/upload-artifact@v2
46
+ - uses: actions/upload-artifact@v3
47
47
  with:
48
- name: ${{ matrix.name }}
49
- path: ${{ matrix.name }}.tar.gz
50
- retention-days: 1
51
- release:
48
+ name: build-artifacts
49
+ path: prebuilds/
50
+ if-no-files-found: error
51
+ - if: failure()
52
+ run: npx shx ls -lA
53
+ release:
52
54
  needs: prebuild
53
55
  name: Release
54
56
  runs-on: ubuntu-latest
55
- if: startsWith(github.ref, 'refs/tags/')
56
57
  steps:
57
58
  - uses: actions/checkout@v3
58
- - uses: actions/download-artifact@v2
59
+ - uses: actions/download-artifact@v3
59
60
  with:
60
- path: artifacts
61
- - uses: docker://antonyurchenko/git-release:v4
62
- env:
63
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64
- ALLOW_EMPTY_CHANGELOG: true
61
+ name: build-artifacts
62
+ path: prebuilds
63
+ - uses: actions/setup-node@v3
65
64
  with:
66
- args: artifacts/*/*.tar.gz
65
+ node-version: 18.x
66
+ - run: npm ci
67
+ - run: npm run build
68
+ - run: npm run semantic-release
69
+ env:
70
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "license": "MIT",
8
8
  "name": "@stoprocent/noble",
9
9
  "description": "A Node.js BLE (Bluetooth Low Energy) central library.",
10
- "version": "1.11.7",
10
+ "version": "1.11.8",
11
11
  "repository": {
12
12
  "type": "git",
13
13
  "url": "https://github.com/stoprocent/noble.git"