Skip to content

Hello astro

Hello astro #1

Workflow file for this run

name: CI
on:
pull_request:
types:
- opened
- edited
- synchronize
- reopened
workflow_call:
push:
branches: ['master']
jobs:
build:
name: Code standards & build
runs-on: ubuntu-latest
timeout-minutes: 3
strategy:
matrix:
node-version: [18.x]
steps:
- name: '☁️ Checkout repository'
uses: actions/checkout@v4
- name: '🔧 Setup Node.js ${{ matrix.node-version }}'
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: '📦 Install pnpm'
uses: pnpm/action-setup@v2
with:
version: 9
- name: '📦 Install dependencies'
run: pnpm install --frozen-lockfile
- name: '📝 Checking code format'
run: pnpm run format:check
- name: '🔎 Lint code'
run: pnpm run lint
- name: '🚀 Build the project'
run: pnpm run build