Skip to content

Commit 04b1393

Browse files
authored
fix: update vulnerable npm dependencies (#5)
* fix: update vulnerable npm dependencies * ci: verify dependency updates on pull requests * ci: use current GitHub Actions runtimes * ci: validate package metadata in PR checks --------- Co-authored-by: Esa-Pekka Pälvimäki <palvimaki@users.noreply.github.com>
1 parent e993733 commit 04b1393

4 files changed

Lines changed: 771 additions & 378 deletions

File tree

.github/workflows/pr-ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: PR CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
verify:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
17+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
18+
with:
19+
node-version: 22
20+
cache: npm
21+
- run: npm ci
22+
- run: node scripts/check-package-metadata.mjs
23+
- run: npm audit --audit-level=high
24+
- run: ./node_modules/.bin/pwa-assets-generator --preset minimal-2023 assets/logo.png
25+
- run: npm run build

0 commit comments

Comments
 (0)