Astro ビルド後の残処理を TypeScript 化(TypeScript code with Node.js) #37
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Astro files | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'astro/src/**/*.astro' | |
- 'astro/src/**/*.ts' | |
- 'astro/eslint.config.js' | |
- 'astro/markuplint.config.js' | |
workflow_dispatch: | |
jobs: | |
lint-node: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '22' | |
- run: npm ci | |
- run: npm run lint -w '@w0s.jp/astro' | |
lint-html: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '22' | |
- run: npm ci | |
- run: npm run html-src-lint -w '@w0s.jp/astro' |