Skip to content

Commit f01c344

Browse files
committedMay 25, 2024
python version
1 parent 32fe4a8 commit f01c344

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed
 

‎.github/workflows/sls.yml

+13-4
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,30 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
node-version: [18.x]
17+
node-version: [18.20.3]
1818

1919
steps:
2020
- uses: actions/checkout@v3
21-
- name: Use Node.js ${{ matrix.node-version }}
21+
22+
- name: Set up Node.js ${{ matrix.node-version }}
2223
uses: actions/setup-node@v3
2324
with:
2425
node-version: ${{ matrix.node-version }}
26+
27+
- name: Set up Python 3.9
28+
uses: actions/setup-python@v4
29+
with:
30+
python-version: '3.9'
31+
2532
- run: npm ci
2633

27-
# Deployment of your project
34+
# Ensure Serverless plugin for Python requirements is installed and deploy
2835
- name: Serverless deploy
2936
uses: serverless/github-action@master
3037
with:
31-
args: -c "serverless plugin install --name serverless-python-requirements && serverless deploy"
38+
args: >
39+
-c "serverless plugin install --name serverless-python-requirements
40+
&& serverless deploy"
3241
entrypoint: /bin/sh
3342
env:
3443
# To link with your Serverless Framework account, equivalent to login

0 commit comments

Comments
 (0)