fix the color #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Workflow | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
lint_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install deps | |
run: npm install | |
- name: lint code | |
run: npm run lint | |
continue-on-error: true | |
- name: Run Test | |
run: npm test | |
continue-on-error: true | |
conditional_deploy: | |
needs: lint_and_test | |
runs-on: ubuntu-latest | |
if: ${{ success() }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Deploy | |
run: | | |
echo "Deploying KEAYSXYZ..." | |
manual_trigger: | |
runs-on: ubuntu-latest | |
needs: conditional_deploy | |
if: ${{ failure() }} | |
steps: | |
- name: Wait for manual re-run | |
uses: hmarr/auto-approve-action@v4 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKE }} |