Skip to content

Commit f90db04

Browse files
committed
fix: resolve CI workflow failures - regenerate lockfile, add security permissions, fix eslint pattern
1 parent dbb869d commit f90db04

3 files changed

Lines changed: 2796 additions & 7891 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: pnpm install --frozen-lockfile
3030

3131
- name: Run ESLint
32-
run: pnpm exec eslint . --ext .ts,.js
32+
run: pnpm exec eslint "**/*.{ts,js}" --ignore-path .gitignore
3333

3434
- name: Check Prettier formatting
3535
run: pnpm exec prettier --check .
@@ -82,6 +82,10 @@ jobs:
8282
security:
8383
name: Security Scan
8484
runs-on: ubuntu-latest
85+
permissions:
86+
actions: read
87+
contents: read
88+
security-events: write
8589
steps:
8690
- name: Checkout code
8791
uses: actions/checkout@v4

.prettierignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Dependencies and lock files
2+
node_modules/
3+
pnpm-lock.yaml
4+
package-lock.json
5+
yarn.lock
6+
7+
# Build outputs
8+
dist/
9+
build/
10+
*.tgz
11+
12+
# Git and CI
13+
.git/
14+
.github/
15+
16+
# Logs
17+
*.log
18+
19+
# IDE
20+
.vscode/
21+
.idea/
22+
23+
# OS
24+
.DS_Store
25+
Thumbs.db

0 commit comments

Comments
 (0)