Skip to content

Commit

Permalink
Update dependency lib
Browse files Browse the repository at this point in the history
  • Loading branch information
mziyut committed Jul 18, 2023
1 parent 660ad34 commit 012419f
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/label_export.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Export label
on:
push:
paths:
- ".github/workflows/label_export.yml"
- '.github/workflows/label_export.yml'
label:
types: [created, edited, deleted]
workflow_dispatch:
Expand Down Expand Up @@ -33,13 +33,13 @@ jobs:
ref: main
- uses: actions/setup-node@v3
with:
cache: "yarn"
cache: 'yarn'
- run: yarn install
- uses: actions/download-artifact@v3
with:
name: Label config
- run: cp labels.yaml .github/labels.yaml
- run: yarn run format:fix
- run: yarn prettier:fix
- uses: peter-evans/create-pull-request@v5
with:
commit-message: Update labels
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/label_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Sync labels
on:
push:
paths:
- ".github/labels.yaml"
- ".github/workflows/label_sync.yml"
- '.github/labels.yaml'
- '.github/workflows/label_sync.yml'
workflow_dispatch:

permissions:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/qiita_publish_articles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
branches:
- main
paths:
- "qiita/**"
- ".github/workflows/qiita_publish_articles.yml"
- 'qiita/**'
- '.github/workflows/qiita_publish_articles.yml'
workflow_dispatch:

permissions:
Expand Down Expand Up @@ -34,12 +34,12 @@ jobs:
ref: main
- uses: actions/setup-node@v3
with:
cache: "yarn"
cache: 'yarn'
- run: yarn install
- run: yarn workspace qiita publish:all
env:
QIITA_TOKEN: ${{ secrets.QIITA_TOKEN }}
- run: yarn run format:fix
- run: yarn workspace qiita format:fix
- uses: peter-evans/create-pull-request@v5
with:
commit-message: Publish articles
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/qiita_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Qiita - Test
on:
push:
paths:
- "qiita/**"
- ".github/workflows/qiita_test.yml"
- 'qiita/**'
- '.github/workflows/qiita_test.yml'

permissions:
contents: read
Expand All @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: "yarn"
cache: 'yarn'
- run: yarn install
- run: yarn workspace qiita textlint:codecov
- uses: codecov/codecov-action@v3
Expand All @@ -42,6 +42,6 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: "yarn"
cache: 'yarn'
- run: yarn install
- run: yarn workspace qiita prettier
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"version": "0.1.0",
"main": "index.js",
"scripts": {
"prettier": "prettier --check .",
"prettier:fix": "prettier --write .",
"prepare": "husky install",
"lint-staged": "lint-staged"
},
Expand All @@ -21,9 +23,11 @@
"workspaces": [
"qiita"
],
"dependencies": {},
"devDependencies": {
"husky": "^8.0.3",
"lint-staged": "^13.2.3"
"lint-staged": "^13.2.3",
"prettier": "^3.0.0"
},
"lint-staged": {
"**/*": [
Expand All @@ -33,5 +37,8 @@
"yarn workspaces run textlint --config .textlintrc.json --fix",
"yarn workspaces run textlint --config .textlintrc.json"
]
},
"prettier": {
"singleQuote": true
}
}
1 change: 1 addition & 0 deletions qiita/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public/.remote
File renamed without changes.
File renamed without changes.

0 comments on commit 012419f

Please sign in to comment.