Skip to content
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
5 changes: 5 additions & 0 deletions .github/workflows/build-deploy-neurojsonio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
- name: Check out the repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "20"

- name: Install dependencies
run: yarn install --frozen-lockfile

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/build-deploy-zodiac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ jobs:
- name: Check out the repository
uses: actions/checkout@v3

- name: Check IP
run: curl https://api.ipify.org
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "20"

- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
node-version: "20"

- name: Install dependencies
run: yarn install
Expand All @@ -29,4 +29,4 @@ jobs:
PUBLIC_URL="/dev/${{ github.head_ref }}/" yarn build

- name: Run Security Audit (non-blocking)
run: yarn audit --level moderate || echo "Audit failed with moderate issues, continuing anyway."
run: yarn audit --groups dependencies --level high || echo "Audit complete."
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"numjs": "^0.16.1",
"pako": "1.0.11",
"path-browserify": "^1.0.1",
"pdfjs-dist": "3.4.120",
"pdfjs-dist": "4.10.38",
"query-string": "^8.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { FileItem } from "redux/projects/types/projects.interface";
import * as XLSX from "xlsx";

pdfjsLib.GlobalWorkerOptions.workerSrc =
"https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.4.120/pdf.worker.min.js";
"https://cdnjs.cloudflare.com/ajax/libs/pdf.js/4.10.38/pdf.worker.min.mjs";

export const generateId = (): string => {
return Math.random().toString(36).substr(2, 9);
Expand Down
Loading
Loading