ノートの翻訳機能を削除 #1022
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Production install and build | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- develop-mame | |
pull_request: | |
permissions: {} | |
jobs: | |
production: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version-file: '.node-version' | |
cache: 'pnpm' | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Check if lock file is not modified | |
run: git diff --exit-code pnpm-lock.yaml | |
- name: Copy config file | |
run: cp .github/misskey/test.yml .config/default.yml | |
- name: Build | |
run: pnpm run build | |
env: | |
NODE_ENV: production |