Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/icons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-01-02 19:50:47 +0300
committerXhmikosR <xhmikosr@gmail.com>2020-01-02 19:50:47 +0300
commit243e5afa32e59ece5f441a30e5e5587e64d087e9 (patch)
tree2210078fa754eddfe4de91fb0543918ceccfed22 /.github
parent6565fc8142e5bae0eb47dfa780ec41209cc26766 (diff)
CI: fix Node.js version
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 528d7f163..9c17fc3b3 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -2,6 +2,7 @@ name: Tests
on: [push, pull_request]
env:
CI: true
+ NODE: 10.x
jobs:
test:
@@ -14,7 +15,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v1
with:
- node-version: "10"
+ node-version: "${{ env.NODE }}"
- run: node --version
- run: npm --version
@@ -24,10 +25,10 @@ jobs:
uses: actions/cache@v1
with:
path: ~/.npm
- key: ${{ runner.os }}-node-v${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}-${{ hashFiles('.github/workflows/test.yml') }}
+ key: ${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}-${{ hashFiles('.github/workflows/test.yml') }}
restore-keys: |
- ${{ runner.OS }}-node-v${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}-${{ hashFiles('.github/workflows/test.yml') }}
- ${{ runner.OS }}-node-v${{ matrix.node }}-
+ ${{ runner.OS }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}-${{ hashFiles('.github/workflows/test.yml') }}
+ ${{ runner.OS }}-node-v${{ env.NODE }}-
- name: Install npm dependencies
run: npm ci