From 1d1325204528a77bd8a3daf796a57c85c29c1a89 Mon Sep 17 00:00:00 2001 From: Mihajlo Date: Tue, 27 Jul 2021 12:19:14 +0200 Subject: [PATCH] ci: script test --- .github/workflows/npmpublish.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 6a5ffe2..f893fca 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -7,6 +7,7 @@ on: push: branches: - master + - auto-tests jobs: build: @@ -84,10 +85,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 }}