Specified node version to workflows

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2021-11-18 18:11:12 +05:30
parent 57697142a2
commit 9627766f7d
2 changed files with 18 additions and 2 deletions

View file

@ -10,8 +10,16 @@ jobs:
name: 'Deploy'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 15.x, 16x]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- uses: jsmrcaga/action-netlify-deploy@master
with:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}

View file

@ -9,8 +9,16 @@ jobs:
name: 'Deploy'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 15.x, 16x]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- uses: jsmrcaga/action-netlify-deploy@master
with:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}