Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #518 from maboroshi-inc/feat/v2.1
Browse files Browse the repository at this point in the history
v2.0.2
  • Loading branch information
oti authored May 23, 2022
2 parents 642f704 + 9041a31 commit 4287329
Show file tree
Hide file tree
Showing 11 changed files with 85 additions and 322 deletions.
28 changes: 14 additions & 14 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
time: '10:00'
timezone: Asia/Tokyo
open-pull-requests-limit: 10
reviewers:
- haribote
- isoden
- NaokiMatsuda
- oti
allow:
- dependency-type: direct
- package-ecosystem: npm
directory: '/'
schedule:
interval: weekly
time: '10:00'
timezone: Asia/Tokyo
open-pull-requests-limit: 10
reviewers:
- haribote
- isoden
- NaokiMatsuda
- oti
allow:
- dependency-type: direct
24 changes: 12 additions & 12 deletions .github/workflows/pre-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: npm install, lint, type-check, and test
run: |
npm ci
npm run lint
npx tsc --noEmit
npm test -- --ci
env:
CI: true
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: npm install, lint, type-check, and test
run: |
npm ci
npm run lint
npx tsc --noEmit
npm test -- --ci
env:
CI: true
7 changes: 3 additions & 4 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ on:

jobs:
update_draft_release:

runs-on: ubuntu-latest

steps:
- uses: toolmantim/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: toolmantim/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx prettier --write .
8 changes: 4 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
module.exports = {
transform: {
'^.+\\.tsx?$': 'ts-jest'
'^.+\\.tsx?$': 'ts-jest',
},
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
globals: {
'ts-jest': {
tsConfig: 'tsconfig.json'
}
}
tsConfig: 'tsconfig.json',
},
},
}
Loading

0 comments on commit 4287329

Please sign in to comment.