CI fix tentative 5
This commit is contained in:
parent
c463acf045
commit
53cf4eeac1
|
@ -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
|
||||||
|
|
|
@ -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/",
|
||||||
|
|
Loading…
Reference in a new issue