-
-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update node to latest LTS * Update node in Dockerfile
- Loading branch information
Showing
5 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,13 +16,13 @@ jobs: | |
- name: Setup node | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 18.12.1 | ||
cache: "npm" | ||
node-version: 20.12.2 | ||
cache: 'npm' | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Build app | ||
env: | ||
NODE_OPTIONS: "--max_old_space_size=4096" | ||
NODE_OPTIONS: '--max_old_space_size=4096' | ||
run: npm run build | ||
- name: Upload artifact | ||
uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Deploy to Netlify (dev) | |
on: | ||
push: | ||
branches: | ||
- dev | ||
- dev | ||
|
||
jobs: | ||
deploy-to-netlify: | ||
|
@@ -15,19 +15,19 @@ jobs: | |
- name: Setup node | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 18.12.1 | ||
cache: "npm" | ||
node-version: 20.12.2 | ||
cache: 'npm' | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Build app | ||
env: | ||
NODE_OPTIONS: "--max_old_space_size=4096" | ||
NODE_OPTIONS: '--max_old_space_size=4096' | ||
run: npm run build | ||
- name: Deploy to Netlify | ||
uses: nwtgck/actions-netlify@7a92f00dde8c92a5a9e8385ec2919775f7647352 | ||
with: | ||
publish-dir: dist | ||
deploy-message: "Dev deploy ${{ github.sha }}" | ||
deploy-message: 'Dev deploy ${{ github.sha }}' | ||
enable-commit-comment: false | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
production-deploy: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,19 +14,19 @@ jobs: | |
- name: Setup node | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 18.12.1 | ||
cache: "npm" | ||
node-version: 20.12.2 | ||
cache: 'npm' | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Build app | ||
env: | ||
NODE_OPTIONS: "--max_old_space_size=4096" | ||
NODE_OPTIONS: '--max_old_space_size=4096' | ||
run: npm run build | ||
- name: Deploy to Netlify | ||
uses: nwtgck/actions-netlify@7a92f00dde8c92a5a9e8385ec2919775f7647352 | ||
with: | ||
publish-dir: dist | ||
deploy-message: "Prod deploy ${{ github.ref_name }}" | ||
deploy-message: 'Prod deploy ${{ github.ref_name }}' | ||
enable-commit-comment: false | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
production-deploy: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
## Builder | ||
FROM node:18.12.1-alpine3.15 as builder | ||
FROM node:20.12.2-alpine3.18 as builder | ||
|
||
WORKDIR /src | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters