CI fix tentative 5
Some checks failed
/ build (23) (push) Failing after 48s
/ deploy (push) Has been skipped

This commit is contained in:
Gu://em_ 2025-05-30 14:05:24 +02:00
parent c463acf045
commit 53cf4eeac1
2 changed files with 27 additions and 3 deletions

View file

@ -6,12 +6,37 @@ on:
jobs: jobs:
build: build:
runs-on: docker # ? check what it really means runs-on: docker # ? check what it really means
strategy:
matrix:
node-version: [23]
steps: steps:
- name: Checkout git repository - name: Checkout git repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Astro build - name: "Install pnpm"
uses: https://github.com/withastro/action@v4 uses: pnpm/action-setup@v4
with:
version: 10
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: "Install dependencies"
run: pnpm install
- name: "Lint code"
run: pnpm run lint
- name: "Checking code format"
run: pnpm run format:check
- name: "Build the project"
run: pnpm run build
deploy: deploy:
needs: build needs: build

View file

@ -2,7 +2,6 @@
"name": "oblog-parallels", "name": "oblog-parallels",
"type": "module", "type": "module",
"version": "5.2.0", "version": "5.2.0",
"packageManager": "pnpm@10.11.0",
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",
"build": "astro check && astro build && pagefind --site dist && cp -r dist/pagefind public/", "build": "astro check && astro build && pagefind --site dist && cp -r dist/pagefind public/",