@@ -114,62 +114,10 @@ jobs:
114114 - name : Unit tests
115115 run : npm test
116116
117- linuxNode12 :
118- name : ' [Linux] Node.js v12: Unit tests'
119- runs-on : ubuntu-latest
120- strategy :
121- matrix :
122- sls-version : [2, 3]
123- pipenv-version : ['2022.8.5', '2022.8.13']
124- steps :
125- - name : Checkout repository
126- uses : actions/checkout@v2
127-
128- - name : Retrieve dependencies from cache
129- id : cacheNpm
130- uses : actions/cache@v2
131- with :
132- path : |
133- ~/.npm
134- node_modules
135- key : npm-v12-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
136- restore-keys : npm-v12-${{ runner.os }}-${{ github.ref }}-
137-
138- - name : Set up Python 3.7
139- uses : actions/setup-python@v2
140- with :
141- python-version : 3.7
142-
143- - name : Install Node.js and npm
144- uses : actions/setup-node@v1
145- with :
146- node-version : 12.x
147-
148- - name : Check python version
149- run : |
150- python --version
151-
152- - name : Install setuptools
153- run : python -m pip install --force setuptools wheel
154-
155- - name : Install pipenv / poetry
156- run : python -m pip install pipenv==${{ matrix.pipenv-version }} poetry
157-
158- - name : Install serverless
159- run : npm install -g serverless@${{ matrix.sls-version }}
160-
161- - name : Install dependencies
162- if : steps.cacheNpm.outputs.cache-hit != 'true'
163- run : |
164- npm update --no-save
165- npm update --save-dev --no-save
166- - name : Unit tests
167- run : npm test
168-
169117 tagIfNewVersion :
170118 name : Tag if new version
171119 runs-on : ubuntu-latest
172- needs : [windowsNode14, linuxNode14, linuxNode12 ]
120+ needs : [windowsNode14, linuxNode14]
173121 steps :
174122 - name : Checkout repository
175123 uses : actions/checkout@v2
0 commit comments