Skip to content

Update main.yml

Update main.yml #3

Workflow file for this run

name: Demo Workflow
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
types: [opened, synchronize]
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Run a one-line script
run: echo Hello, my dear people
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
- name: Install Dependencies
run: npm install
- name: Build Project
run: npm run
- name: Test aplication
run: npm test