Skip to content

Commit 1a8c2e1

Browse files
committed
Fix for pipeline checks
1 parent 883d4c9 commit 1a8c2e1

3 files changed

Lines changed: 45 additions & 47 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ name: CI
44

55
on:
66
push:
7-
branches: [ main, develop ]
7+
branches: [main, develop]
88
pull_request:
9-
branches: [ main, develop ]
9+
branches: [main, develop]
1010

1111
jobs:
1212
frontend:
@@ -29,7 +29,6 @@ jobs:
2929
- name: Install dependencies
3030
run: npm ci
3131

32-
3332
- name: Lint
3433
run: npm run lint
3534
working-directory: frontend
@@ -46,7 +45,6 @@ jobs:
4645
run: npm run build
4746
working-directory: frontend
4847

49-
5048
frontend-e2e:
5149
name: Frontend E2E
5250
runs-on: ubuntu-latest
@@ -170,7 +168,7 @@ jobs:
170168
- name: Rust Cache
171169
uses: Swatinem/rust-cache@v2
172170
with:
173-
workspaces: "contracts -> target"
171+
workspaces: 'contracts -> target'
174172

175173
- name: Build Contracts
176174
run: cargo build --target wasm32-unknown-unknown --release

.github/workflows/pr-test-gate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ jobs:
4646
- name: Setup Node.js
4747
uses: actions/setup-node@v4
4848
with:
49-
node-version: "20"
50-
cache: "npm"
49+
node-version: '20'
50+
cache: 'npm'
5151
cache-dependency-path: package-lock.json
5252

5353
- name: Cleanup workspace

.github/workflows/security.yml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Security Checks
22

33
on:
44
push:
5-
branches: [ main, develop ]
5+
branches: [main, develop]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88
schedule:
99
- cron: '0 2 * * 0'
1010

@@ -14,31 +14,31 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- name: Checkout code
18-
uses: actions/checkout@v4
19-
20-
- name: Setup Node.js
21-
uses: actions/setup-node@v4
22-
with:
23-
node-version: '20.19.0'
24-
cache: 'npm'
25-
26-
- name: Cleanup workspace
27-
run: rm -rf node_modules frontend/node_modules backend/node_modules
17+
- name: Checkout code
18+
uses: actions/checkout@v4
2819

29-
- name: Install dependencies
30-
env:
31-
HUSKY: 0
32-
run: npm ci
33-
34-
- name: Run npm audit (production dependencies)
35-
run: npm audit --omit=dev --audit-level=critical
36-
37-
- name: Check for known vulnerabilities in frontend (production dependencies)
38-
run: npm audit --workspace=frontend --omit=dev --audit-level=critical
39-
40-
- name: Check for known vulnerabilities in backend (production dependencies)
41-
run: npm audit --workspace=backend --omit=dev --audit-level=critical
20+
- name: Setup Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: '20.19.0'
24+
cache: 'npm'
25+
26+
- name: Cleanup workspace
27+
run: rm -rf node_modules frontend/node_modules backend/node_modules
28+
29+
- name: Install dependencies
30+
env:
31+
HUSKY: 0
32+
run: npm ci
33+
34+
- name: Run npm audit (production dependencies)
35+
run: npm audit --omit=dev --audit-level=critical
36+
37+
- name: Check for known vulnerabilities in frontend (production dependencies)
38+
run: npm audit --workspace=frontend --omit=dev --audit-level=critical
39+
40+
- name: Check for known vulnerabilities in backend (production dependencies)
41+
run: npm audit --workspace=backend --omit=dev --audit-level=critical
4242

4343
codeql-analysis:
4444
name: CodeQL Analysis
@@ -51,19 +51,19 @@ jobs:
5151
strategy:
5252
fail-fast: false
5353
matrix:
54-
language: [ 'javascript', 'typescript' ]
54+
language: ['javascript', 'typescript']
5555

5656
steps:
57-
- name: Checkout repository
58-
uses: actions/checkout@v4
59-
60-
- name: Initialize CodeQL
61-
uses: github/codeql-action/init@v3
62-
with:
63-
languages: ${{ matrix.language }}
64-
65-
- name: Autobuild
66-
uses: github/codeql-action/autobuild@v3
67-
68-
- name: Perform CodeQL Analysis
69-
uses: github/codeql-action/analyze@v3
57+
- name: Checkout repository
58+
uses: actions/checkout@v4
59+
60+
- name: Initialize CodeQL
61+
uses: github/codeql-action/init@v3
62+
with:
63+
languages: ${{ matrix.language }}
64+
65+
- name: Autobuild
66+
uses: github/codeql-action/autobuild@v3
67+
68+
- name: Perform CodeQL Analysis
69+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)