diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index 07467d3..36516b1 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -50,35 +50,35 @@ jobs: # Enter this token as a GitHub secret (with name NPM_TOKEN) in the repository options # Then uncomment the following block: -# Deploys the final package to NPM -deploy: - needs: [check-and-lint, adapter-tests] + # Deploys the final package to NPM + deploy: + needs: [check-and-lint, adapter-tests] - # Trigger this step only when a commit on any branch is tagged with a version number - if: | - contains(github.event.head_commit.message, '[skip ci]') == false && - github.event_name == 'push' && - startsWith(github.ref, 'refs/tags/v') + # Trigger this step only when a commit on any branch is tagged with a version number + if: | + contains(github.event.head_commit.message, '[skip ci]') == false && + github.event_name == 'push' && + startsWith(github.ref, 'refs/tags/v') - runs-on: ubuntu-latest + runs-on: ubuntu-latest - steps: - - uses: ioBroker/testing-action-deploy@v1 - with: - node-version: '14.x' - # Uncomment the following line if your adapter cannot be installed using 'npm ci' - # install-command: 'npm install' - npm-token: ${{ secrets.NPM_TOKEN }} - github-token: ${{ secrets.GITHUB_TOKEN }} + steps: + - uses: ioBroker/testing-action-deploy@v1 + with: + node-version: '14.x' + # Uncomment the following line if your adapter cannot be installed using 'npm ci' + # install-command: 'npm install' + npm-token: ${{ secrets.NPM_TOKEN }} + github-token: ${{ secrets.GITHUB_TOKEN }} - # When using Sentry for error reporting, Sentry can be informed about new releases - # To enable create a API-Token in Sentry (User settings, API keys) - # Enter this token as a GitHub secret (with name SENTRY_AUTH_TOKEN) in the repository options - # Then uncomment and customize the following block: - sentry: true - sentry-token: ${{ secrets.SENTRY_AUTH_TOKEN }} - sentry-project: "iobroker-wiegand-tcpip" - sentry-version-prefix: "iobroker.wiegand-tcpip" - # If your sentry project is linked to a GitHub repository, you can enable the following option - # sentry-github-integration: true + # When using Sentry for error reporting, Sentry can be informed about new releases + # To enable create a API-Token in Sentry (User settings, API keys) + # Enter this token as a GitHub secret (with name SENTRY_AUTH_TOKEN) in the repository options + # Then uncomment and customize the following block: + sentry: true + sentry-token: ${{ secrets.SENTRY_AUTH_TOKEN }} + sentry-project: "iobroker-wiegand-tcpip" + sentry-version-prefix: "iobroker.wiegand-tcpip" + # If your sentry project is linked to a GitHub repository, you can enable the following option + # sentry-github-integration: true