Skip to content

Commit 8308e59

Browse files
committed
use pnpm instead of npm, remove analyse job
1 parent 5c76d15 commit 8308e59

File tree

3 files changed

+13
-20
lines changed

3 files changed

+13
-20
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,15 @@ jobs:
1313
contents: write
1414
steps:
1515
- uses: actions/checkout@v4
16+
- uses: pnpm/action-setup@v3
17+
with:
18+
version: 8
1619
- uses: actions/setup-node@v4
1720
with:
1821
node-version: 20
19-
cache: "npm"
20-
- run: npm install
21-
- run: npm run build
22+
cache: "pnpm"
23+
- run: pnpm install
24+
- run: pnpm run build
2225
- uses: JamesIves/github-pages-deploy-action@v4
2326
name: Deploy to gh-pages
2427
with:

.github/workflows/test.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,12 @@ jobs:
1111
node-version: [18, 20]
1212
steps:
1313
- uses: actions/checkout@v4
14+
- uses: pnpm/action-setup@v3
15+
with:
16+
version: 8
1417
- uses: actions/setup-node@v4
1518
with:
1619
node-version: ${{ matrix.node-version }}
17-
cache: "npm"
18-
- run: npm install
19-
- run: npm run build
20-
analyze:
21-
name: Analyze using CodeQL
22-
runs-on: ubuntu-latest
23-
permissions:
24-
actions: read
25-
contents: read
26-
security-events: write
27-
steps:
28-
- uses: actions/checkout@v4
29-
- uses: github/codeql-action/init@v3
30-
with:
31-
languages: "javascript"
32-
- uses: github/codeql-action/analyze@v3
20+
cache: "pnpm"
21+
- run: pnpm install
22+
- run: pnpm run build

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repos:
1616
- id: mixed-line-ending
1717

1818
- repo: https://github.com/python-jsonschema/check-jsonschema
19-
rev: 0.27.3
19+
rev: 0.28.0
2020
hooks:
2121
- id: check-github-workflows
2222
ci:

0 commit comments

Comments
 (0)