generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sora Morimoto <[email protected]>
- Loading branch information
Showing
12 changed files
with
68,068 additions
and
68,658 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,32 +35,38 @@ jobs: | |
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Use pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: latest | ||
|
||
- name: Use Node.js 16.x | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16.x | ||
cache: pnpm | ||
|
||
- name: Install npm packages | ||
if: runner.os == 'Linux' | ||
run: yarn --frozen-lockfile | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Check formatting | ||
if: runner.os == 'Linux' | ||
run: yarn fmt:check | ||
run: pnpm fmt:check | ||
|
||
- name: Check lint | ||
if: runner.os == 'Linux' | ||
run: yarn lint | ||
run: pnpm lint | ||
|
||
- name: Check type | ||
if: runner.os == 'Linux' | ||
run: yarn typecheck | ||
run: pnpm typecheck | ||
|
||
- name: Ensure dist directory is up-to-date | ||
if: runner.os == 'Linux' | ||
shell: bash | ||
run: | | ||
yarn build | ||
pnpm build | ||
if [ "$(git status dist lint-doc lint-fmt lint-opam --porcelain | wc -l)" -gt "0" ]; then | ||
echo "Detected uncommitted changes after build. See status below:" | ||
git diff | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
/lint-doc/* | ||
/lint-fmt/* | ||
/lint-opam/* | ||
pnpm-lock.yaml |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.