Skip to content

Commit

Permalink
updated CI
Browse files Browse the repository at this point in the history
  • Loading branch information
csaba-kovacs committed Feb 13, 2024
1 parent 105977f commit ebb1d8a
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit ebb1d8a

Please sign in to comment.