Skip to content

Commit fcfb171

Browse files
pgrzesiknaoyasugita
authored andcommitted
ci: Remove node12 from testing matrix (serverless#795)
1 parent a940d7e commit fcfb171

File tree

2 files changed

+1
-107
lines changed

2 files changed

+1
-107
lines changed

.github/workflows/integrate.yml

+1-53
Original file line numberDiff line numberDiff line change
@@ -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

.github/workflows/validate.yml

-54
Original file line numberDiff line numberDiff line change
@@ -146,57 +146,3 @@ jobs:
146146
npm update --save-dev --no-save
147147
- name: Unit tests
148148
run: npm test
149-
150-
linuxNode12:
151-
name: '[Linux] Node.js v12: Unit tests'
152-
runs-on: ubuntu-latest
153-
strategy:
154-
matrix:
155-
sls-version: [2, 3]
156-
pipenv-version: ['2022.8.5', '2022.8.13', '2023.7.4', '2023.7.9']
157-
steps:
158-
- name: Checkout repository
159-
uses: actions/checkout@v2
160-
161-
- name: Retrieve dependencies from cache
162-
id: cacheNpm
163-
uses: actions/cache@v2
164-
with:
165-
path: |
166-
~/.npm
167-
node_modules
168-
key: npm-v12-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
169-
restore-keys: |
170-
npm-v12-${{ runner.os }}-${{ github.ref }}-
171-
npm-v12-${{ runner.os }}-refs/heads/master-
172-
173-
- name: Set up Python 3.7
174-
uses: actions/setup-python@v2
175-
with:
176-
python-version: 3.7
177-
178-
- name: Install Node.js and npm
179-
uses: actions/setup-node@v1
180-
with:
181-
node-version: 12.x
182-
183-
- name: Check python version
184-
run: |
185-
python --version
186-
187-
- name: Install setuptools
188-
run: python -m pip install --force setuptools wheel
189-
190-
- name: Install pipenv / poetry
191-
run: python -m pip install pipenv==${{ matrix.pipenv-version }} poetry
192-
193-
- name: Install serverless
194-
run: npm install -g serverless@${{ matrix.sls-version }}
195-
196-
- name: Install dependencies
197-
if: steps.cacheNpm.outputs.cache-hit != 'true'
198-
run: |
199-
npm update --no-save
200-
npm update --save-dev --no-save
201-
- name: Unit tests
202-
run: npm test

0 commit comments

Comments
 (0)