Skip to content

Commit 06ee876

Browse files
author
Jeff Gordon
committed
ci: install serverless version after npm update
1 parent 63dc4a4 commit 06ee876

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/validate.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ jobs:
6363
- name: Install pipenv / poetry / uv
6464
run: python -m pip install pipenv poetry uv
6565

66-
- name: Install serverless
67-
run: npm install -g serverless@${{ matrix.sls-version }}
68-
6966
- name: Install dependencies
7067
if: steps.cacheNpm.outputs.cache-hit != 'true'
7168
run: |
7269
npm update --no-save
7370
npm update --save-dev --no-save
71+
- name: Install serverless
72+
run: npm install -g serverless@${{ matrix.sls-version }}
73+
7474
- name: Validate Prettier formatting
7575
run: npm run prettier-check:updated
7676
- name: Validate ESLint rules

0 commit comments

Comments
 (0)