Skip to content

change port order to prevent drift #319

change port order to prevent drift

change port order to prevent drift #319

Workflow file for this run

name: Frontend CI
on:
- push
- pull_request_target
permissions:
contents: read
env:
NEXT_TELEMETRY_DISABLED: 1
defaults:
run:
working-directory: gitarena-frontend
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: setup pnpm
uses: pnpm/action-setup@903f9c1a6ebcba6cf41d87230be49611ac97822e # v6.0.3
with:
version: 10
package_json_file: gitarena-frontend/package.json
run_install: |
- cwd: gitarena-frontend
args: [--frozen-lockfile]
- name: next.js cache
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: |
${{ github.workspace }}/gitarena-frontend/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-
- name: build
run: pnpm run build
- name: format check
run: pnpm run format:check
- name: lint
run: pnpm run lint