Skip to content

Commit faa2312

Browse files
committed
add node and strategy
1 parent 6f35ec9 commit faa2312

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/surge.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,18 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
name: Deploying to surge
9+
10+
strategy:
11+
matrix:
12+
node-version: [12.x]
13+
914
steps:
1015
- uses: actions/checkout@v2
1116

12-
- name: Install Node.js
13-
uses: actions/setup-node@v2-beta
17+
- name: Set up Node.js ${{ matrix.node-version }}
18+
uses: actions/setup-node@v1
1419
with:
15-
node-version: 12
20+
node-version: ${{ matrix.node-version }}
1621

1722
- uses: borales/actions-yarn@v2.0.0 # `yarn install`
1823
with:

0 commit comments

Comments
 (0)