Skip to content

ディレクトリ名が誤っていたので修正 #1

ディレクトリ名が誤っていたので修正

ディレクトリ名が誤っていたので修正 #1

name: Check Pull Request
on:
push:
jobs:
build:
runs-on: ubuntu-20.04
timeout-minutes: 10
strategy:
node-version: [20]

Check failure on line 9 in .github/workflows/check-pull-request.yml

View workflow run for this annotation

GitHub Actions / Check Pull Request

Invalid workflow file

The workflow is not valid. .github/workflows/check-pull-request.yml (Line: 9, Col: 9): Unexpected value 'node-version' .github/workflows/check-pull-request.yml (Line: 28, Col: 9): Unexpected value 'node-version'
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run Build
run: pnpm build
biome-check:
runs-on: ubuntu-20.04
timeout-minutes: 10
strategy:
node-version: [20]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run Biome Check
run: pnpm check
vitest:
runs-on: ubuntu-20.04
timeout-minutes: 10
strategy:
node-version: [20]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run Vitest
run: pnpm test
markuplint:
runs-on: ubuntu-20.04
timeout-minutes: 10
strategy:
node-version: [20]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run markuplint
run: pnpm markuplint
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true