Skip to content

Commit

Permalink
Merge: dev to qa
Browse files Browse the repository at this point in the history
Merge dev to qa 06/06/2024
  • Loading branch information
GHkrishna authored Jun 6, 2024
2 parents 5f79d3b + 1a4d1a2 commit 0818038
Show file tree
Hide file tree
Showing 122 changed files with 14,062 additions and 26,050 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
with:
node-version: lts/*

- name: remove previous node module
run: rm -rf node_modules

- name: Build step
run: npm install && npm run build # 📝 Update the build command(s)

Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,16 @@ jobs:
with:
deno-version: v1.x

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*

- name: Install step
run: "npm install"

- name: Build step
run: "npm install && npm run build"
run: "npm run build"

- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
Expand Down
17 changes: 12 additions & 5 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Deno from '@astrojs/deno';
import deno from '@deno/astro-adapter';
import { defineConfig } from 'astro/config';
import react from "@astrojs/react";
import sitemap from '@astrojs/sitemap';
Expand All @@ -8,15 +8,22 @@ const DEV_PORT = 3000;

// https://astro.build/config
export default defineConfig({
experimental: {
viewTransitions: true,
// experimental: {

// },
image: {
service: {
entrypoint: 'astro/assets/services/noop'
}
},

viewTransitions: true,
redirects: {
'/login': '/authentication/sign-in',
'/register': '/authentication/sign-up',
},

build:{
},
site: process.env.CI ? 'https://credebl-dev-ui.deno.dev' : `http://localhost:${DEV_PORT}`,
base: process.env.CI ? '/' : undefined,
output: 'server',
Expand All @@ -30,7 +37,7 @@ export default defineConfig({
integrations: [
//
sitemap(), tailwind(), react()],
adapter: Deno()
adapter: deno(),
});

if (typeof globalThis !== 'undefined' && typeof Deno !== 'undefined') {
Expand Down
Loading

0 comments on commit 0818038

Please sign in to comment.