Skip to content

フォーマットがよくないね #134

フォーマットがよくないね

フォーマットがよくないね #134

Workflow file for this run

name: CI
on:
push:
branches: ["develop", "production"]
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true
jobs:
build:
strategy:
fail-fast: false
matrix:
node-version: [16, 18]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
name: Build with Node.js ${{ matrix.node-version }}, ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Setup 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: Build
run: pnpm run build
lint:
runs-on: ubuntu-latest
permissions:
security-events: write
name: Lint with Node.js 16, ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Setup Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm run lint:sarif
- name: Upload lint results to GitHub repository
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results.sarif
- name: Check formatting
run: pnpm check:format