From b1682b6f3232e6bf5bac6ac8f71522d9afbec1ee Mon Sep 17 00:00:00 2001 From: Mihajlo Date: Tue, 27 Jul 2021 14:07:16 +0200 Subject: [PATCH] ci: script test done --- .github/workflows/npmpublish.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 309f06d..4cd1c81 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -7,7 +7,6 @@ on: push: branches: - master - - auto-tests jobs: build: @@ -85,10 +84,10 @@ jobs: replace-in-files --regex='"password".*' --replacement='"password":"${{ secrets.SAS_PASSWORD }}",' ./cypress.json sh ./sasjs-cypress-run.sh ${{ secrets.SLACK_WEBHOOK }} - # - name: Semantic Release - # uses: cycjimmy/semantic-release-action@v2 - # env: - # GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - # NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - # - name: Send Slack message - # run: curl -X POST --data-urlencode "payload={\"channel\":\"#sasjs\", \"username\":\"GitHub CI\", \"text\":\"New version of @sasjs/adapter has been released! \n Please deploy and run `dctests` with new adapter to make sure everything is still in place.\", \"icon_emoji\":\":rocket:\"}" ${{ secrets.SLACK_WEBHOOK }} + - name: Semantic Release + uses: cycjimmy/semantic-release-action@v2 + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Send Slack message + run: curl -X POST --data-urlencode "payload={\"channel\":\"#sasjs\", \"username\":\"GitHub CI\", \"text\":\"New version of @sasjs/adapter has been released! \n Please deploy and run `dctests` with new adapter to make sure everything is still in place.\", \"icon_emoji\":\":rocket:\"}" ${{ secrets.SLACK_WEBHOOK }}