mirror of
https://gitea.com/gitea/blog.git
synced 2024-06-02 08:51:23 +05:30
build with node18
This commit is contained in:
parent
754be5b7d9
commit
14769a6db2
|
@ -13,15 +13,15 @@ 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
|
||||
|
|
Loading…
Reference in a new issue