diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index adefeb83..cd158ab6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -69,7 +69,7 @@ jobs: custom-cache-key: "${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}" - name: "Setup node" - uses: "actions/setup-node@v3" + uses: "actions/setup-node@v4" with: node-version: "${{ matrix.node-version }}" @@ -143,7 +143,7 @@ jobs: custom-cache-key: "${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}" - name: "Setup node" - uses: "actions/setup-node@v3" + uses: "actions/setup-node@v4" with: node-version: "${{ matrix.node-version }}" @@ -227,7 +227,7 @@ jobs: run: "make tests" - name: "Upload logs" - uses: "actions/upload-artifact@v2" + uses: "actions/upload-artifact@v3" with: name: "Logs - Tests (${{ matrix.operating-system }}, ${{ matrix.php-version }})" path: "var/log" @@ -375,7 +375,7 @@ jobs: run: "make mutations-infection ARGS='--logger-github'" - name: "Upload logs" - uses: "actions/upload-artifact@v2" + uses: "actions/upload-artifact@v3" with: name: "Logs - Mutations" path: "var/coverage/mutations/infection.log" @@ -430,7 +430,7 @@ jobs: custom-cache-key: "${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}" - name: "Setup node" - uses: "actions/setup-node@v3" + uses: "actions/setup-node@v4" with: node-version: "${{ matrix.node-version }}" @@ -470,7 +470,7 @@ jobs: uses: "actions/checkout@v4" - name: "Install node" - uses: "actions/setup-node@v3" + uses: "actions/setup-node@v4" with: node-version: "${{ matrix.node-version }}" registry-url: "https://registry.npmjs.org" @@ -482,7 +482,7 @@ jobs: run: "yarn build" - name: "Upload build result" - uses: "actions/upload-artifact@v2" + uses: "actions/upload-artifact@v3" with: name: js-dist path: dist @@ -502,7 +502,7 @@ jobs: uses: "actions/checkout@v4" - name: "Install node" - uses: "actions/setup-node@v3" + uses: "actions/setup-node@v4" with: node-version: "${{ matrix.node-version }}" registry-url: "https://registry.npmjs.org" @@ -527,11 +527,11 @@ jobs: path: dist - name: "Publish to NPM" - uses: "JS-DevTools/npm-publish@v1" + uses: "JS-DevTools/npm-publish@v3" id: "npm_publish" if: contains(github.ref, 'refs/tags/') with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.NPMJS_TOKEN }} access: "public" - name: "Publish to NPM result" @@ -540,11 +540,11 @@ jobs: echo "Version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}" - name: "Publish to NPM" - uses: "JS-DevTools/npm-publish@v1" + uses: "JS-DevTools/npm-publish@v3" id: "npm_publish_dev" if: contains(github.ref, 'refs/tags/') == false with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.NPMJS_TOKEN }} access: "public" tag: "dev" @@ -568,7 +568,7 @@ jobs: uses: "actions/checkout@v4" - name: "Install node" - uses: "actions/setup-node@v3" + uses: "actions/setup-node@v4" with: node-version: "${{ matrix.node-version }}" registry-url: "https://npm.pkg.github.com" @@ -593,7 +593,7 @@ jobs: path: dist - name: "Publish to NPM" - uses: "JS-DevTools/npm-publish@v1" + uses: "JS-DevTools/npm-publish@v3" id: "npm_publish" if: contains(github.ref, 'refs/tags/') with: @@ -607,7 +607,7 @@ jobs: echo "Version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}" - name: "Publish to NPM" - uses: "JS-DevTools/npm-publish@v1" + uses: "JS-DevTools/npm-publish@v3" id: "npm_publish_dev" if: contains(github.ref, 'refs/tags/') == false with: diff --git a/package.json b/package.json index a21ac6b6..9497b502 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fastybird/devices-module", - "version": "1.0.0-dev.18", + "version": "1.0.0-dev.19", "type": "module", "description": "FastyBird IoT devices module for connectors & devices management & basic control logic", "keywords": [ @@ -60,8 +60,8 @@ "pretty:write": "prettier assets --write" }, "dependencies": { - "@fastybird/metadata-library": "^1.0.0-dev.18", - "@fastybird/web-ui-library": "^1.0.0-dev.18", + "@fastybird/metadata-library": "^1.0.0-dev.19", + "@fastybird/web-ui-library": "^1.0.0-dev.19", "@fastybird/vue-wamp-v1": "^1.2", "@fortawesome/vue-fontawesome": "^3.0", "ajv": "^8.11",