Skip to content

Commit ade8887

Browse files
authored
deps: bump node 12.15.0 to 12.16.1 (#142)
* deps: bump node 12.15.0 to 12.16.1 * deps: bump git 2.25.0 to 2.25.1 * chore: validate node and npm version by engines field * ci: Add npm i -g npm
1 parent 2a9e88e commit ade8887

File tree

5 files changed

+22
-6
lines changed

5 files changed

+22
-6
lines changed

.github/workflows/test-action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ jobs:
4141
with:
4242
node-version: '${{ steps.nvm.outputs.NVMRC }}'
4343

44+
- run: npm i -g npm
45+
46+
- name: Dump version
47+
run: |
48+
node -v
49+
npm --version
50+
git --version
51+
4452
- run: npm ci
4553

4654
- name: Remove lint-staged husky

.github/workflows/test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
- 'macos-latest'
3030
- 'windows-latest'
3131
steps:
32-
3332
- uses: actions/checkout@v2
3433

3534
- name: Read .nvmrc
@@ -41,6 +40,14 @@ jobs:
4140
with:
4241
node-version: '${{ steps.nvm.outputs.NVMRC }}'
4342

43+
- run: npm i -g npm
44+
45+
- name: Dump version
46+
run: |
47+
node -v
48+
npm --version
49+
git --version
50+
4451
- run: npm ci
4552

4653
- name: Run prettier

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.15.0
1+
12.16.1

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ RUN apt-get update && \
1212
wget \
1313
ssh \
1414
vim && \
15-
rm -rf /var/lib/apt/lists/*
15+
rm -rf /var/lib/apt/lists/* && \
16+
npm i -g npm
1617

1718
WORKDIR /git
18-
ENV GIT_VERSION="2.25.0"
19+
ENV GIT_VERSION="2.25.1"
1920
RUN wget -q "https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz" && \
2021
tar -zxf "./v${GIT_VERSION}.tar.gz" && \
2122
rm "./v${GIT_VERSION}.tar.gz" && \

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "GitHub Actions for GitHub Pages",
55
"main": "lib/index.js",
66
"engines": {
7-
"node": ">=12.14.1",
8-
"npm": ">=6.13.7"
7+
"node": ">=12.16.1",
8+
"npm": ">=6.14.2"
99
},
1010
"scripts": {
1111
"lint": "eslint ./{src,__tests__}/**/*.ts",

0 commit comments

Comments
 (0)