Skip to content

Merge pull request #72 from FaberVitale/chore/update-dependencies-202… #126

Merge pull request #72 from FaberVitale/chore/update-dependencies-202…

Merge pull request #72 from FaberVitale/chore/update-dependencies-202… #126

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-22.04
env:
HUSKY: '0'
TZ: 'Europe/Rome'
steps:
- uses: 'actions/checkout@v4'
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: log info
run: >
printf 'commit -> %s\nbranch -> %s\n' "$(git rev-parse --short HEAD)" "$(git branch --show-current)"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: lint - typescript
run: pnpm run lint:ts
- name: lint - astro
run: pnpm run lint:astro
- name: tests
run: pnpm run test
- name: Build
run: pnpm run build