Skip to content

Commit

Permalink
python version
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa6765 committed May 25, 2024
1 parent 32fe4a8 commit f01c344
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/sls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,30 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [18.20.3]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9'

- run: npm ci

# Deployment of your project
# Ensure Serverless plugin for Python requirements is installed and deploy
- name: Serverless deploy
uses: serverless/github-action@master
with:
args: -c "serverless plugin install --name serverless-python-requirements && serverless deploy"
args: >
-c "serverless plugin install --name serverless-python-requirements
&& serverless deploy"
entrypoint: /bin/sh
env:
# To link with your Serverless Framework account, equivalent to login
Expand Down

0 comments on commit f01c344

Please sign in to comment.