Skip to content

Removing check for showing the execute button, bumping wharfkit to get fixed cleos transaction format #415

Removing check for showing the execute button, bumping wharfkit to get fixed cleos transaction format

Removing check for showing the execute button, bumping wharfkit to get fixed cleos transaction format #415

Workflow file for this run

name: 'CI'
on: [pull_request]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: tests
uses: actions/setup-node@v1
with:
node-version: '14'
- run: yarn install
- run: yarn test
- run: yarn lint
- name: Passed ✅
if: ${{ success() }}
run: |
curl --request POST \
--url https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.sha }} \
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
--header 'content-type: application/json' \
--data '{
"context": "tests",
"state": "success",
"description": "passed ✅",
"target_url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
}'
- name: Failed 🚨
if: ${{ failure() }}
run: |
curl --request POST \
--url https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.sha }} \
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
--header 'content-type: application/json' \
--data '{
"context": "tests",
"state": "failure",
"description": "failed 🚨",
"target_url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
}'