Skip to content

chore: 依存更新 / pnpm #11

chore: 依存更新 / pnpm

chore: 依存更新 / pnpm #11

Workflow file for this run

name: CI
on:
push:
branches:
- "**"
tags-ignore:
- "**"
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
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
run: |
pnpm install
- name: Lint
run: |
pnpm lint:prettier
pnpm lint:eslint
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
needs: lint
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
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
run: |
pnpm install
- name: Build
run: |
pnpm build