File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # This Continous Integration (CI) pipeline lints, builds, and tests the code when a Pull Request is
2- # created or a commit is pushed to the Prod branch
1+ # This Continuous Integration (CI) pipeline lints, builds, and tests the code when a Pull Request is
2+ # created or a commit is pushed to a Prod branch
33
44name : CI
5-
65on :
76 push :
8- branches : [ "master" ]
7+ branches : [ "master", "1.x.x" ]
98 pull_request :
10- branches : [ "master" ]
9+ branches : [ "master", "1.x.x" ]
1110
1211jobs :
13- continous -integration :
14- name : Continous Integration
12+ continuous -integration :
13+ name : Continuous Integration
1514 runs-on : ubuntu-latest
1615
1716 steps :
1817 - name : Checkout Repository
1918 uses : actions/checkout@v4
2019
20+ - name : Get Node Version
21+ run : echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_ENV
22+
2123 - name : Set up Node
2224 uses : actions/setup-node@v4
2325 with :
24- node-version : lts/*
26+ node-version : ${{ env.NODE_VERSION }}
2527
2628 - name : Install Dependencies
2729 run : npm ci
You can’t perform that action at this time.
0 commit comments