Skip to content

backendでmisskey-jsをインポートしている箇所の調整 (#355) #1027

backendでmisskey-jsをインポートしている箇所の調整 (#355)

backendでmisskey-jsをインポートしている箇所の調整 (#355) #1027

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