fix: 公開している提供中ブック視聴途中でブックが最初から再生される問題の修正 #1188
Workflow file for this run
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
name: build | |
on: pull_request | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "lts/*" | |
cache: yarn | |
- name: install | |
run: yarn | |
- name: lint | |
run: yarn lint:fix:report | |
continue-on-error: true | |
- name: "commit lint:fix" | |
run: | | |
if git -c "user.name=bot" -c "user.email=bot@example" commit -am "bot: lint:fix"; then | |
git push origin HEAD | |
fi | |
- uses: ataylorme/eslint-annotate-action@v2 | |
with: | |
repo-token: "${{ github.token }}" | |
only-pr-files: false | |
- name: format | |
run: yarn format | |
- name: "commit format" | |
run: | | |
if git -c "user.name=bot" -c "user.email=bot@example" commit -am "bot: format"; then | |
git push origin HEAD | |
fi | |
- name: test | |
run: yarn test | |
- name: build | |
run: yarn build |