Skip to content

Commit 90d5cb3

Browse files
authored
Update ci.yml
1 parent f57f040 commit 90d5cb3

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
name: CI/CD Pipeline
22
on:
33
push:
4-
paths-ignore:
5-
- '**.md'
6-
- 'docs/**'
7-
- '.gitignore'
4+
branches: [main, develop]
85
pull_request:
9-
paths-ignore:
10-
- '**.md'
11-
- 'docs/**'
12-
- '.gitignore'
6+
branches: [main, develop]
137

148
env:
15-
NODE_VERSION: '22'
169
DOCKER_COMPOSE_VERSION: '2.29.7'
1710

1811
jobs:
@@ -42,7 +35,7 @@ jobs:
4235
- name: Setup Node.js
4336
uses: actions/setup-node@v4
4437
with:
45-
node-version: ${{ env.NODE_VERSION }}
38+
node-version-file: '.nvmrc'
4639
cache: 'npm'
4740
cache-dependency-path: 'package-lock.json'
4841

0 commit comments

Comments
 (0)