build with node18

This commit is contained in:
techknowlogick 2023-11-11 01:08:55 -05:00
parent 754be5b7d9
commit 14769a6db2
1 changed files with 4 additions and 4 deletions

View File

@ -13,18 +13,18 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- uses: https://github.com/actions/setup-node@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: Build
run: |
npm ci
npm run build
- name: publish to netlify
uses: https://github.com/nwtgck/actions-netlify@v2.0
uses: nwtgck/actions-netlify@v2.0
with:
publish-dir: build
production-branch: main
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: b3cd7cc2-68be-4467-b3a6-38f1fdfa0cfc
NETLIFY_SITE_ID: b3cd7cc2-68be-4467-b3a6-38f1fdfa0cfc