From 83857e8d63f40ea68331964489142f378ba802ad Mon Sep 17 00:00:00 2001 From: "andrey.levchaev" Date: Thu, 30 May 2024 16:12:29 +0300 Subject: [PATCH] fix(no-ref): workflow --- .github/workflows/publish.yml | 132 +++++++++++++++++----------------- src/libraries | 2 +- 2 files changed, 67 insertions(+), 67 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 333044c..61a2a0c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,72 +1,72 @@ name: Publish npm on: - push: - branches: - - master + push: + branches: + - master jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - registry-url: https://registry.npmjs.org/ - - name: Build library - run: | - npm ci --force - git submodule update --init --recursive --remote - npm run build:lib - - name: Publish library - run: npm run publish:lib - env: - NODE_AUTH_TOKEN: ${{secrets.npm_token}} + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + registry-url: https://registry.npmjs.org/ + - name: Build library + run: | + npm ci --force + git submodule update --init --recursive --remote + npm run build:lib + - name: Publish library + run: npm run publish:lib + env: + NODE_AUTH_TOKEN: ${{secrets.npm_token}} - slack_notification: - needs: - - build - runs-on: ubuntu-latest - steps: - - name: Post to a Slack channel - id: slack - uses: slackapi/slack-github-action@v1.26.0 - with: - channel-id: 'deployments' - payload: | - { - "text": "GitHub Action build result: ${{ job.status == 'success' && ':white_check_mark:' || ':x:' }}", - "blocks": [ - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "GitHub Action build result: ${{ job.status == 'success' && ':white_check_mark:' || ':x:' }}" - } - }, - { - "type": "section" - "text": { - "type": "mrkdwn", - "text": "Project: `${{ github.event.repository.name }}`" - } - }, - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "Commit/PR URL: ${{ github.event.pull_request.html_url || github.event.head_commit.url }}" - } - }, - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "Website URL: ${{ secrets.WEBSITE_URL || 'TBA' }}" - } - } - ] - } - env: - SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} + slack_notification: + needs: + - build + runs-on: ubuntu-latest + steps: + - name: Post to a Slack channel + id: slack + uses: slackapi/slack-github-action@v1.26.0 + with: + channel-id: 'deployments' + payload: | + { + "text": "GitHub Action build result: ${{ job.status == 'success' && ':white_check_mark:' || ':x:' }}", + "blocks": [ + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "GitHub Action build result: ${{ job.status == 'success' && ':white_check_mark:' || ':x:' }}" + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "Project: `${{ github.event.repository.name }}`" + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "Commit/PR URL: ${{ github.event.pull_request.html_url || github.event.head_commit.url }}" + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "Website URL: ${{ secrets.WEBSITE_URL || 'TBA' }}" + } + } + ] + } + env: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} diff --git a/src/libraries b/src/libraries index 39670ca..f402f51 160000 --- a/src/libraries +++ b/src/libraries @@ -1 +1 @@ -Subproject commit 39670ca78c9eb0fbfa2167a8afe9a49a6316659d +Subproject commit f402f51789609e8de8500d39ff80cdcb68f89bb9