Skip to content

Commit 426863c

Browse files
committed
Update CI/CD workflow
1 parent c2ff1f5 commit 426863c

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/ci-cd.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# This is an example CI/CD workflow
2-
31
name: CI/CD
42

53
on:
@@ -12,16 +10,15 @@ jobs:
1210
runs-on: ubuntu-latest
1311

1412
steps:
15-
- uses: actions/checkout@a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0
16-
- uses: actions/setup-node@z9y8x7w6v5u4t3s2r1q0p9o8n7m6l5k4j3h2g1f0
13+
- uses: actions/checkout@v4
1714

1815
- name: Set up Node.js
19-
uses: actions/setup-node@v2
16+
uses: actions/setup-node@v4
2017
with:
21-
node-version: '14'
18+
node-version: '18'
2219

2320
- name: Install dependencies
24-
run: npm install
21+
run: npm ci
2522

2623
- name: Run tests
2724
run: npm test

0 commit comments

Comments
 (0)