Skip to content

Commit 89b3bab

Browse files
committed
chore: Remove Node16 tests
1 parent 9b84abf commit 89b3bab

File tree

3 files changed

+16
-120
lines changed

3 files changed

+16
-120
lines changed

.github/workflows/integrate.yml

Lines changed: 6 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -10,59 +10,8 @@ env:
1010
FORCE_COLOR: 1
1111

1212
jobs:
13-
linuxNode16:
14-
name: '[Linux] Node.js v16: Unit tests'
15-
runs-on: ubuntu-latest
16-
strategy:
17-
matrix:
18-
python-version: [2.7, 3.6]
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-v16-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
31-
restore-keys: npm-v16-${{ runner.os }}-${{ github.ref }}-
32-
33-
- name: Set up Python ${{ matrix.python-version }}
34-
uses: actions/setup-python@v1
35-
with:
36-
python-version: ${{ matrix.python-version }}
37-
38-
- name: Install Node.js and npm
39-
uses: actions/setup-node@v1
40-
with:
41-
node-version: 16.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@2
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-
64-
windowsNode16:
65-
name: '[Windows] Node.js v16: Unit tests'
13+
windowsNode14:
14+
name: '[Windows] Node.js v14: Unit tests'
6615
runs-on: windows-latest
6716
strategy:
6817
matrix:
@@ -78,8 +27,8 @@ jobs:
7827
path: |
7928
~/.npm
8029
node_modules
81-
key: npm-v16-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
82-
restore-keys: npm-v16-${{ runner.os }}-${{ github.ref }}-
30+
key: npm-v14-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
31+
restore-keys: npm-v14-${{ runner.os }}-${{ github.ref }}-
8332

8433
- name: Set up Python ${{ matrix.python-version }}
8534
uses: actions/setup-python@v1
@@ -89,7 +38,7 @@ jobs:
8938
- name: Install Node.js and npm
9039
uses: actions/setup-node@v1
9140
with:
92-
node-version: 16.x
41+
node-version: 14.x
9342

9443
- name: Check python version
9544
run: |
@@ -217,7 +166,7 @@ jobs:
217166
tagIfNewVersion:
218167
name: Tag if new version
219168
runs-on: ubuntu-latest
220-
needs: [linuxNode16, windowsNode16, linuxNode14, linuxNode12]
169+
needs: [windowsNode14, linuxNode14, linuxNode12]
221170
steps:
222171
- name: Checkout repository
223172
uses: actions/checkout@v2

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
path: |
2727
~/.npm
2828
node_modules
29-
key: npm-v16-${{ runner.os }}-refs/heads/master-${{ hashFiles('package.json') }}
29+
key: npm-v14-${{ runner.os }}-refs/heads/master-${{ hashFiles('package.json') }}
3030

3131
- name: Install Node.js and npm
3232
uses: actions/setup-node@v1
3333
with:
34-
node-version: 16.x
34+
node-version: 14.x
3535
registry-url: https://registry.npmjs.org
3636

3737
- name: Publish new version

.github/workflows/validate.yml

Lines changed: 8 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ env:
1010
FORCE_COLOR: 1
1111

1212
jobs:
13-
linuxNode16:
14-
name: '[Linux] Node.js v16: Lint, Eventual Commitlint, Eventual Changelog, Formatting & Unit tests'
13+
linuxNode14:
14+
name: '[Linux] Node.js v14: Lint, Eventual Commitlint, Eventual Changelog, Formatting & Unit tests'
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
@@ -38,10 +38,10 @@ jobs:
3838
path: |
3939
~/.npm
4040
node_modules
41-
key: npm-v16-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
41+
key: npm-v14-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
4242
restore-keys: |
43-
npm-v16-${{ runner.os }}-${{ github.ref }}-
44-
npm-v16-${{ runner.os }}-refs/heads/master-
43+
npm-v14-${{ runner.os }}-${{ github.ref }}-
44+
npm-v14-${{ runner.os }}-refs/heads/master-
4545
4646
- name: Set up Python ${{ matrix.python-version }}
4747
uses: actions/setup-python@v1
@@ -51,7 +51,7 @@ jobs:
5151
- name: Install Node.js and npm
5252
uses: actions/setup-node@v1
5353
with:
54-
node-version: 16.x
54+
node-version: 14.x
5555

5656
- name: Check python version
5757
run: |
@@ -88,62 +88,9 @@ jobs:
8888
- name: Unit tests
8989
run: npm test
9090

91-
windowsNode16:
92-
name: '[Windows] Node.js v16: Unit tests'
91+
windowsNode14:
92+
name: '[Windows] Node.js v14: Unit tests'
9393
runs-on: windows-latest
94-
strategy:
95-
matrix:
96-
python-version: [2.7, 3.6]
97-
steps:
98-
- name: Checkout repository
99-
uses: actions/checkout@v2
100-
101-
- name: Retrieve dependencies from cache
102-
id: cacheNpm
103-
uses: actions/cache@v2
104-
with:
105-
path: |
106-
~/.npm
107-
node_modules
108-
key: npm-v16-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
109-
restore-keys: |
110-
npm-v16-${{ runner.os }}-${{ github.ref }}-
111-
npm-v16-${{ runner.os }}-refs/heads/master-
112-
113-
- name: Set up Python ${{ matrix.python-version }}
114-
uses: actions/setup-python@v1
115-
with:
116-
python-version: ${{ matrix.python-version }}
117-
118-
- name: Install Node.js and npm
119-
uses: actions/setup-node@v1
120-
with:
121-
node-version: 16.x
122-
123-
- name: Check python version
124-
run: |
125-
python --version
126-
127-
- name: Install setuptools
128-
run: python -m pip install --force setuptools wheel
129-
130-
- name: Install pipenv / poetry
131-
run: python -m pip install pipenv poetry
132-
133-
- name: Install serverless
134-
run: npm install -g serverless@2
135-
136-
- name: Install dependencies
137-
if: steps.cacheNpm.outputs.cache-hit != 'true'
138-
run: |
139-
npm update --no-save
140-
npm update --save-dev --no-save
141-
- name: Unit tests
142-
run: npm test
143-
144-
linuxNode14:
145-
name: '[Linux] Node.js 14: Unit tests'
146-
runs-on: ubuntu-latest
14794
strategy:
14895
matrix:
14996
python-version: [2.7, 3.6]

0 commit comments

Comments
 (0)