Skip to content

build check

build check #25

Workflow file for this run

name: build
run-name: build check
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [20]
defaults:
run:
working-directory: svelte-portfolio
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 9
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
cache-dependency-path: svelte-portfolio
- name: Install dependencies
run: pnpm install --frozen-lockfile
# チェック実行
# - name: vitest
# run: pnpm test:ci
- name: lint
run: pnpm run lint
- name: lint
run: pnpm run check
- name: build check
run: pnpm build