Skip to content

Commit

Permalink
Merge pull request #64 from harry0000/feature-1_2_5
Browse files Browse the repository at this point in the history
Update version to 1.2.5: Add Sonia & Update skill effects/rank up
  • Loading branch information
harry0000 authored Apr 15, 2023
2 parents 036d788 + 2f96d4c commit 8918f03
Show file tree
Hide file tree
Showing 54 changed files with 11,909 additions and 6,535 deletions.
14 changes: 14 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,14 @@
},
"plugins": [
"react",
"react-hooks",
"@typescript-eslint"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"indent": [
"error",
Expand All @@ -38,12 +44,20 @@
"error",
"single"
],
"no-console": [
"error",
{ "allow": ["error"] }
],
"react/prop-types": "off",
"react/no-unknown-property": [
"error",
{ "ignore": ["css", "focusable"] }
],
"react-hooks/rules-of-hooks": "off",
"react-hooks/exhaustive-deps": [
"warn",
{ "additionalHooks": "(useRecoilCallback|useRecoilTransaction_UNSTABLE)" }
],
"semi": [
"error",
"always"
Expand Down
11 changes: 11 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: 'setup'
description: 'setup node and node_modules'
runs:
using: 'composite'
steps:
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Setup
run: npm ci --no-audit --progress=false --silent
shell: bash
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI
on:
push:
branches-ignore:
- master
tags-ignore:
- '**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- name: Lint
run: npm run lint

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- name: Test
run: CI=true npm test
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
node-version: 18

- name: Get npm cache directory
id: npm-cache-dir
Expand All @@ -26,7 +26,7 @@ jobs:
${{ runner.os }}-node-
- name: Setup
run: npm install
run: npm ci --no-audit --progress=false --silent

- name: Build
env:
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/run-tests.yml

This file was deleted.

Loading

0 comments on commit 8918f03

Please sign in to comment.