diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index fd859f7..ff103af 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -41,6 +41,14 @@ jobs: with: node-version: '${{ steps.nvm.outputs.NVMRC }}' + - run: npm i -g npm + + - name: Dump version + run: | + node -v + npm --version + git --version + - run: npm ci - name: Remove lint-staged husky diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d533b3e..7d7f240 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,7 +29,6 @@ jobs: - 'macos-latest' - 'windows-latest' steps: - - uses: actions/checkout@v2 - name: Read .nvmrc @@ -41,6 +40,14 @@ jobs: with: node-version: '${{ steps.nvm.outputs.NVMRC }}' + - run: npm i -g npm + + - name: Dump version + run: | + node -v + npm --version + git --version + - run: npm ci - name: Run prettier diff --git a/.nvmrc b/.nvmrc index 49d70ce..66df3b7 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -12.15.0 +12.16.1 diff --git a/Dockerfile b/Dockerfile index 4e81d4e..578bb1a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,10 +12,11 @@ RUN apt-get update && \ wget \ ssh \ vim && \ - rm -rf /var/lib/apt/lists/* + rm -rf /var/lib/apt/lists/* && \ + npm i -g npm WORKDIR /git -ENV GIT_VERSION="2.25.0" +ENV GIT_VERSION="2.25.1" RUN wget -q "https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz" && \ tar -zxf "./v${GIT_VERSION}.tar.gz" && \ rm "./v${GIT_VERSION}.tar.gz" && \ diff --git a/package.json b/package.json index d281981..26de133 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "description": "GitHub Actions for GitHub Pages", "main": "lib/index.js", "engines": { - "node": ">=12.14.1", - "npm": ">=6.13.7" + "node": ">=12.16.1", + "npm": ">=6.14.2" }, "scripts": { "lint": "eslint ./{src,__tests__}/**/*.ts",