This repository was archived by the owner on Oct 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-52
lines changed Expand file tree Collapse file tree 1 file changed +0
-52
lines changed Original file line number Diff line number Diff line change 1010 FORCE_COLOR : 1
1111
1212jobs :
13- linuxNode14 :
14- name : ' [Linux] Node.js 14: Unit tests'
15- runs-on : ubuntu-latest
16- strategy :
17- matrix :
18- sls-version : [2, 3]
19- steps :
20- - name : Checkout repository
21- uses : actions/checkout@v2
22-
23- - name : Retrieve dependencies from cache
24- id : cacheNpm
25- uses : actions/cache@v2
26- with :
27- path : |
28- ~/.npm
29- node_modules
30- key : npm-v14-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
31- restore-keys : npm-v14-${{ runner.os }}-${{ github.ref }}-
32-
33- - name : Set up Python 3.7
34- uses : actions/setup-python@v2
35- with :
36- python-version : 3.7
37-
38- - name : Install Node.js and npm
39- uses : actions/setup-node@v1
40- with :
41- node-version : 14.x
42-
43- - name : Check python version
44- run : |
45- python --version
46-
47- - name : Install setuptools
48- run : python -m pip install --force setuptools wheel
49-
50- - name : Install pipenv / poetry
51- run : python -m pip install pipenv poetry
52-
53- - name : Install serverless
54- run : npm install -g serverless@${{ matrix.sls-version }}
55-
56- - name : Install dependencies
57- if : steps.cacheNpm.outputs.cache-hit != 'true'
58- run : |
59- npm update --no-save
60- npm update --save-dev --no-save
61- - name : Unit tests
62- run : npm test
63-
6413 tagIfNewVersion :
6514 name : Tag if new version
6615 runs-on : ubuntu-latest
67- needs : [linuxNode14]
6816 steps :
6917 - name : Checkout repository
7018 uses : actions/checkout@v2
You can’t perform that action at this time.
0 commit comments