Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
fix: markdown header checkのバグ修正 (#104)
Browse files Browse the repository at this point in the history
* feat: markdown-headerでauthorsやcategoryの確認をするように

* fix: 自動的にコンパイルしてから実行するように

* fix: なんかバグってる?
  • Loading branch information
book000 authored Nov 6, 2021
1 parent b9b8d73 commit ed0f2bf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .github/scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{
"devDependencies": {
"@types/node": "^16.11.6"
},
"dependencies": {
"axios": "^0.24.0",
"gray-matter": "^4.0.3",
"typescript": "^4.4.4"
"typescript": "^4.4.4",
"@types/node": "^16.11.6"
}
}
}
2 changes: 2 additions & 0 deletions .github/workflows/markdown-header-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ jobs:
- name: Install dependencies & Compile
working-directory: ./.github/scripts/
run: |
ls -la
yarn
yarn add --dev gray-matter typescript axios @types/node
tsc markdown-header.ts
- name: Run markdown-header
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
run: echo "::set-output name=SHORT_SHA::$(git rev-parse --short HEAD)"

- name: Create dist.tgz
working-directory: .dist
working-directory: ./dist
run: tar -cvf ../dist.tgz $(ls -A)

- name: Create a Release
Expand Down

0 comments on commit ed0f2bf

Please sign in to comment.