mirror of
https://github.com/aljazceru/rabbit.git
synced 2026-01-08 08:24:20 +01:00
initial
This commit is contained in:
21
.github/ISSUE_TEMPLATE/----.md
vendored
Normal file
21
.github/ISSUE_TEMPLATE/----.md
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
name: 機能要望
|
||||
about: このプロジェクトへのアイデアの提案
|
||||
title: ''
|
||||
labels: enhancement
|
||||
assignees: syusui-s
|
||||
|
||||
---
|
||||
|
||||
**要望は何らかの問題に関連していますか?説明してください**
|
||||
問題について、明確かつ簡潔に説明してください。(例: 〜のときにストレスです)
|
||||
|
||||
**あなたの求める解決策を説明してください**
|
||||
どうなってほしいかについて、明確かつ簡潔に説明してください。
|
||||
|
||||
**あなたが検討した他の手段について説明してください**
|
||||
あらゆる他の解決策や検討した機能について、明確かつ簡潔に説明してください。
|
||||
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
43
.github/workflows/ci.yml
vendored
Normal file
43
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
name: CI
|
||||
on:
|
||||
push:
|
||||
branch:
|
||||
- "*"
|
||||
jobs:
|
||||
ci:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 17
|
||||
- name: Get npm cache directory
|
||||
id: npm-cache-dir
|
||||
run: |
|
||||
echo "::set-output name=dir::$(npm config get cache)"
|
||||
- uses: actions/cache@v3
|
||||
id: npm-cache
|
||||
with:
|
||||
path: ${{ steps.npm-cache-dir.outputs.dir }}
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Lint / Format
|
||||
run: npm run lint
|
||||
- name: Test
|
||||
run: npm run test
|
||||
- name: Build
|
||||
run: npm run build -- --base="/rezi/" # https://syusui-s.github.io/rezi/
|
||||
- name: Check license
|
||||
run: npm run checkLicense
|
||||
- name: Copy index.html for GitHub Pages
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
run: cp dist/index.html dist/404.html
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./dist
|
||||
Reference in New Issue
Block a user