Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on:
pull_request:
push:
branches-ignore: [main]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
# version is read from the "packageManager" field in package.json
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build with Astro
run: pnpm build

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Comment on lines +10 to +25
8 changes: 4 additions & 4 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ export default defineConfig({
replacesTitle: false,
},
favicon: "/favicon.png",
social: {
github: "https://github.com/data-privacy-stack",
},
social: [
{ icon: "github", label: "GitHub", href: "https://github.com/data-privacy-stack" },
],
customCss: ["./src/styles/tokens.css"],
head: [
{
Expand All @@ -49,7 +49,7 @@ export default defineConfig({
sidebar: [
{
label: "Blog",
autogenerate: { directory: "blog" },
items: [{ autogenerate: { directory: "blog" } }],
},
// Back to the main site
{ label: "← Data Privacy Stack", link: "/" },
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/starlight": "^0.32.0",
"@astrojs/starlight": "^0.40.0",
"astro": "^6.4.6",
"sharp": "^0.33.5"
}
Expand Down
Loading
Loading