Skip to content

Commit f897d0e

Browse files
chore(workflow): bump setup-node and fix minimal node version (#529)
1 parent 941aa64 commit f897d0e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
- beta
88
pull_request:
99

10+
env:
11+
NODE_VERSION: 12.13.0
12+
1013
jobs:
1114
lint:
1215
name: Linting
@@ -18,7 +21,9 @@ jobs:
1821
- uses: actions/checkout@v2
1922
with:
2023
fetch-depth: 0
21-
- uses: actions/setup-node@v1
24+
- uses: actions/setup-node@v2
25+
with:
26+
node-version: ${{ env.NODE_VERSION }}
2227
- name: Get yarn cache directory path
2328
id: yarn-cache-dir-path
2429
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
@@ -73,9 +78,9 @@ jobs:
7378
- uses: actions/checkout@v2
7479
with:
7580
persist-credentials: false # GITHUB_TOKEN must not be set for the semantic release
76-
- uses: actions/setup-node@v1
81+
- uses: actions/setup-node@v2
7782
with:
78-
node-version: 12.13.0
83+
node-version: ${{ env.NODE_VERSION }}
7984
- uses: actions/cache@v2
8085
with:
8186
path: '**/node_modules'

0 commit comments

Comments
 (0)