fixed modules
This commit is contained in:
parent
2e9b5e7216
commit
3f82878eb0
2 changed files with 8 additions and 3 deletions
2
.github/workflows/int_poweron-nyla-int.yml
vendored
2
.github/workflows/int_poweron-nyla-int.yml
vendored
|
|
@ -25,7 +25,7 @@ jobs:
|
||||||
npm run build --if-present
|
npm run build --if-present
|
||||||
|
|
||||||
- name: Zip artifact for deployment
|
- name: Zip artifact for deployment
|
||||||
run: zip release.zip ./* -r
|
run: zip release.zip ./* -r -x "node_modules/*" ".git/*" "*.md" ".github/*"
|
||||||
|
|
||||||
- name: Upload artifact for deployment job
|
- name: Upload artifact for deployment job
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,10 @@
|
||||||
const express = require('express');
|
import express from 'express';
|
||||||
const path = require('path');
|
import path from 'path';
|
||||||
|
import { fileURLToPath } from 'url';
|
||||||
|
|
||||||
|
const __filename = fileURLToPath(import.meta.url);
|
||||||
|
const __dirname = path.dirname(__filename);
|
||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
|
|
||||||
// Serve static files from the dist directory
|
// Serve static files from the dist directory
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue