Skip to content

Commit b58553d

Browse files
authored
Update buildAndDeploy.yml
1 parent e7ae272 commit b58553d

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/buildAndDeploy.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,17 @@ on: workflow_dispatch
44
jobs:
55
build-and-deploy:
66
runs-on: ubuntu-latest
7+
strategy:
8+
matrix:
9+
node-version: [16.x]
710
steps:
811
- name: Checkout 🛎️
912
uses: actions/checkout@v2.3.1
13+
- name: Use Node.js ${{ matrix.node-version }}
14+
uses: actions/setup-node@v3
1015
with:
11-
node-version: 16
12-
cache: 'npm'
13-
16+
node-version: ${{ matrix.node-version }}
1417
- name: Install and Build 🔧
15-
env:
16-
node-version: 16
17-
cache: 'npm'
18-
run: |
1918
npm ci
2019
npm run build
2120

0 commit comments

Comments
 (0)