Specified node version to workflows
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
57697142a2
commit
9627766f7d
2 changed files with 18 additions and 2 deletions
10
.github/workflows/netlify-dev.yaml
vendored
10
.github/workflows/netlify-dev.yaml
vendored
|
@ -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 }}
|
||||
|
|
10
.github/workflows/netlify-prod.yaml
vendored
10
.github/workflows/netlify-prod.yaml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue