CI fix tentative 5
This commit is contained in:
parent
c463acf045
commit
53cf4eeac1
2 changed files with 27 additions and 3 deletions
|
|
@ -6,12 +6,37 @@ on:
|
|||
jobs:
|
||||
build:
|
||||
runs-on: docker # ? check what it really means
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [23]
|
||||
|
||||
steps:
|
||||
- name: Checkout git repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Astro build
|
||||
uses: https://github.com/withastro/action@v4
|
||||
- name: "Install pnpm"
|
||||
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:
|
||||
needs: build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue