Skip to content

Commit 6eee84f

Browse files
Merge pull request #48 from NexGenStudioDev/dev
Dev
2 parents 81bdf90 + 9f3f93a commit 6eee84f

6 files changed

Lines changed: 10584 additions & 7091 deletions

File tree

.github/dependabot.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
day: "monday"
8+
open-pull-requests-limit: 10
9+
groups:
10+
tauri-plugins:
11+
patterns:
12+
- "@tauri-apps/*"
13+
react-ecosystem:
14+
patterns:
15+
- "react"
16+
- "react-dom"
17+
- "react-*"
18+
- "@types/react*"
19+
dev-tooling:
20+
patterns:
21+
- "eslint*"
22+
- "@eslint/*"
23+
- "prettier*"
24+
- "typescript*"
25+
- "vite*"
26+
- "@vitejs/*"
27+
- "tailwindcss*"
28+
- "@tailwindcss/*"
29+
30+
- package-ecosystem: "cargo"
31+
directory: "/src-tauri"
32+
schedule:
33+
interval: "weekly"
34+
day: "monday"
35+
open-pull-requests-limit: 10
36+
37+
- package-ecosystem: "github-actions"
38+
directory: "/"
39+
schedule:
40+
interval: "weekly"
41+
day: "monday"
42+
open-pull-requests-limit: 5
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Security Audit
2+
3+
on:
4+
push:
5+
branches: [master, main]
6+
pull_request:
7+
branches: [master, main]
8+
schedule:
9+
- cron: "0 6 * * 1"
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
npm-audit:
16+
name: npm audit
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- uses: actions/setup-node@v4
22+
with:
23+
node-version: 20
24+
25+
- name: Install dependencies
26+
run: npm ci
27+
28+
- name: Run npm audit (production)
29+
run: npm audit --omit=dev --audit-level=high
30+
31+
cargo-audit:
32+
name: cargo audit
33+
runs-on: ubuntu-latest
34+
steps:
35+
- uses: actions/checkout@v4
36+
37+
- uses: dtolnay/rust-toolchain@stable
38+
39+
- name: Install cargo-audit
40+
run: cargo install cargo-audit --locked
41+
42+
- name: Run cargo audit
43+
run: cargo audit
44+
working-directory: src-tauri

.github/workflows/tauri-all-platforms.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ jobs:
7676
- name: Install dependencies
7777
run: pnpm install --frozen-lockfile
7878

79+
- name: Security audit
80+
run: npm audit --omit=dev --audit-level=high
81+
7982
- name: Build and publish signed bundles
8083
uses: tauri-apps/tauri-action@v1
8184
env:

0 commit comments

Comments
 (0)