From ebb1d8ae75171b99cffff88ea784eaa501ca731a Mon Sep 17 00:00:00 2001 From: Csaba Kovacs Date: Tue, 13 Feb 2024 11:27:16 +0200 Subject: [PATCH] updated CI --- .github/workflows/ci.yml | 46 ++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7cde0287..71bef703 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,21 +10,21 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Use Node.js v16.x + - name: Use Node.js v20 uses: actions/setup-node@v3 with: - node-version: 16 - - name: Notify slack - # Don't attempt to send Slack notifications on fork PRs which don't have access to secrets - if: env.SLACK_BOT_TOKEN - id: slack - env: - SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} - uses: ./ - with: - channel_id: CB9QT2NNR - status: STARTED - color: warning + node-version: 20 + # - name: Notify slack + # # Don't attempt to send Slack notifications on fork PRs which don't have access to secrets + # if: env.SLACK_BOT_TOKEN + # id: slack + # env: + # SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} + # uses: ./ + # with: + # channel_id: CB9QT2NNR + # status: STARTED + # color: warning - name: Get yarn cache id: yarn-cache run: echo "dir=$(yarn cache dir)" >>$GITHUB_OUTPUT @@ -52,13 +52,13 @@ jobs: run: 'git push -f https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:refs/heads/v1' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Notify slack success - if: env.SLACK_BOT_TOKEN - env: - SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} - uses: ./ - with: - message_id: ${{ steps.slack.outputs.message_id }} - channel_id: CB9QT2NNR - status: SUCCESS - color: good + # - name: Notify slack success + # if: env.SLACK_BOT_TOKEN + # env: + # SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} + # uses: ./ + # with: + # message_id: ${{ steps.slack.outputs.message_id }} + # channel_id: CB9QT2NNR + # status: SUCCESS + # color: good