Skip to content

Commit 6ad2fa2

Browse files
authored
Merge pull request #88 from honey32/develop
Release v1.2.0
2 parents 54d54d3 + 1d52608 commit 6ad2fa2

28 files changed

+3407
-1908
lines changed

.github/dependabot.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "weekly"
12+
open-pull-requests-limit: 20
13+
groups:
14+
eslint:
15+
patterns:
16+
- eslint
17+
- eslint-*
18+
- '@typescript-eslint*'
19+
jest:
20+
patterns:
21+
- jest
22+
- '@types/jest'
23+
- ts-jest
24+
parcel:
25+
patterns:
26+
- parcel
27+
- '@parcel/*'
28+

.github/workflows/deploy-typedoc.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
runs-on: ubuntu-latest # Ubuntuの最新版を実行環境とする
1414
steps:
1515
# https://github.com/actions/checkout
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
# https://github.com/actions/setup-node
18-
- uses: actions/setup-node@v3
18+
- uses: actions/setup-node@v4
1919
with:
20-
node-version: '12' # Node 12を使う
20+
node-version-file: 'package.json' # volta
2121
- name: Dependencies
2222
run: npm ci
2323
- name: TypeDoc
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# https://zenn.dev/team_zenn/articles/version-up-labeling
2+
3+
name: increment package.json version
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
version:
8+
required: true
9+
type: choice
10+
options:
11+
- major
12+
- minor
13+
- patch
14+
- premajor
15+
- preminor
16+
- prepatch
17+
- prerelease
18+
19+
jobs:
20+
update_version:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
with:
25+
ref: ${{ github.event.repository.default_branch }}
26+
- uses: actions/setup-node@v4
27+
with:
28+
node-version-file: 'package.json' # volta
29+
30+
- name: setup git
31+
run: |
32+
git config --global user.name 'github-actions[bot]'
33+
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
34+
git remote set-url origin https://github-actions:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
38+
- name: npm version
39+
id: npm-version
40+
run: |
41+
version=$(npm version ${{ inputs.version }} --no-git-tag-version)
42+
echo "version=$version" >> $GITHUB_OUTPUT
43+
44+
- name: commit
45+
run: |
46+
git add .
47+
git commit -m "${{steps.npm-version.outputs.version}}"
48+
49+
- name: Create Pull Request
50+
uses: peter-evans/create-pull-request@5ac05dbaf3e4c655ed87f1cbba980b9e5c490504
51+
with:
52+
title: npm version -> ${{steps.npm-version.outputs.version}}
53+
branch: chore/npm_version/${{steps.npm-version.outputs.version}}

.github/workflows/nodejs-ci.yaml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,15 @@ on:
88

99
jobs:
1010
build:
11-
1211
runs-on: ubuntu-latest
13-
14-
strategy:
15-
matrix:
16-
node-version: [18.3.0]
17-
1812
steps:
19-
- uses: actions/checkout@v3
20-
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v3
13+
- uses: actions/checkout@v4
14+
- name: Use Node.js
15+
uses: actions/setup-node@v4
2216
with:
23-
node-version: ${{ matrix.node-version }}
17+
node-version-file: 'package.json' # volta
2418
- name: Cache npm dir
25-
uses: actions/cache@v2
19+
uses: actions/cache@v3
2620
with:
2721
path: ~/.npm
2822
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

0 commit comments

Comments
 (0)