Skip to content

Commit 81252ff

Browse files
committed
feat(65318): add ci-cd github actions stage
1 parent 4c63aaf commit 81252ff

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: "CI/CD: Continuous integration and continuous deployment"
3+
on: [pull_request]
4+
permissions:
5+
contents: read
6+
7+
jobs:
8+
build-check:
9+
name: 'Build & check format'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Install Node
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: "lts/*"
19+
cache: "npm"
20+
21+
- name: Install NPM dependencies
22+
run: npm ci
23+
24+
- name: Check code formatting
25+
run: npm run format:check
26+
27+

0 commit comments

Comments
 (0)