Skip to content

Update CI.yml

Update CI.yml #25

Workflow file for this run

name: CI/CD

Check failure on line 1 in .github/workflows/CI.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/CI.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: deploy
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
- name: Print a message
run: echo Hello, world!
- name: Print multi-line message
run: |
echo Add other actions to build,
echo test, and deploy your project.
deploy:
runs-on: self-hosted