Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update angular #39

Merged
merged 8 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ on:
jobs:
test-build-front:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup nodejs 18
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x

- name: Install depedencies
run: npm ci

- name: Build
run: npm run build
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18 AS BUILD
FROM node:20 AS BUILD

MAINTAINER Antoine PRONNIER, <antoine.pronnier@gmail.com>

Expand All @@ -11,7 +11,7 @@ COPY . .
RUN npm ci
RUN npm run build:ssr

FROM node:18 AS RUN
FROM node:20 AS RUN

MAINTAINER Antoine PRONNIER, <antoine.pronnier@gmail.com>

Expand Down
10 changes: 5 additions & 5 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,18 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "pacifista-website:build:production"
"buildTarget": "pacifista-website:build:production"
},
"development": {
"browserTarget": "pacifista-website:build:development"
"buildTarget": "pacifista-website:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "pacifista-website:build"
"buildTarget": "pacifista-website:build"
}
},
"test": {
Expand Down Expand Up @@ -137,7 +137,7 @@
"defaultConfiguration": "production"
},
"serve-ssr": {
"builder": "@nguniversal/builders:ssr-dev-server",
"builder": "@angular-devkit/build-angular:ssr-dev-server",
"configurations": {
"development": {
"browserTarget": "pacifista-website:build:development",
Expand All @@ -151,7 +151,7 @@
"defaultConfiguration": "development"
},
"prerender": {
"builder": "@nguniversal/builders:prerender",
"builder": "@angular-devkit/build-angular:prerender",
"options": {
"routes": [
"/"
Expand Down
Loading