Skip to content

Commit c867c11

Browse files
author
Gamingkiller5
authored
Update index.md
1 parent 6851969 commit c867c11

1 file changed

Lines changed: 31 additions & 18 deletions

File tree

Lines changed: 31 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,31 @@
1-
---
2-
title: Get started with GitHub Actions
3-
shortTitle: Get started
4-
intro: Learn the basics of GitHub Actions.
5-
versions:
6-
fpt: '*'
7-
ghes: '*'
8-
ghec: '*'
9-
children:
10-
- /quickstart
11-
- /understand-github-actions
12-
- /continuous-integration
13-
- /continuous-deployment
14-
- /actions-vs-apps
15-
redirect_from:
16-
- /actions/about-github-actions
17-
- /actions/concepts/overview
18-
---
1+
name: Node.js CI/CD Workflow
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
node-version: [20.x]
17+
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v3
21+
22+
- name: Set up Node.js
23+
uses: actions/setup-node@v3
24+
with:
25+
node-version: ${{ matrix.node-version }}
26+
27+
- name: Install dependencies
28+
run: npm install
29+
30+
- name: Start application
31+
run: npm start

0 commit comments

Comments
 (0)