Skip to content

Astro 導入

Astro 導入 #1

Workflow file for this run

name: astro@html-lint
on:
pull_request:
branches:
- main
paths:
- 'astro/src/**/*.{astro,ts}'
- 'astro/.markuplintrc'
push:
branches:
- main
paths:
- 'astro/src/**/*.{astro,ts}'
- 'astro/.markuplintrc'
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: cd astro
- run: npx astro check
- run: npx tsc --noEmit
- run: npx astro build
- run: npm run html-lint -w '@w0s.jp/astro'