Skip to content

GitHub リポジトリを移行したことでコントリビューション一覧に不要な PR が表示されてしまうので URL を更新する #84

GitHub リポジトリを移行したことでコントリビューション一覧に不要な PR が表示されてしまうので URL を更新する

GitHub リポジトリを移行したことでコントリビューション一覧に不要な PR が表示されてしまうので URL を更新する #84

jobs:
build:
needs: setup
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: npm
node-version: "16.17.0"
- uses: actions/cache@v3
with:
key: "${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}"
path: "**/node_modules"
- run: "npx next build"
lint:
needs: setup
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: npm
node-version: "16.17.0"
- uses: actions/cache@v3
with:
key: "${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}"
path: "**/node_modules"
- run: "npm run lint"
setup:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: npm
node-version: "16.17.0"
- uses: actions/cache@v3
with:
key: "${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}"
path: "**/node_modules"
- run: "corepack enable npm"
- run: "npm set-script prepare ''"
- run: "npm ci --legacy-peer-deps"
name: "Build and lint"
on:
push:
branches-ignore:
- main