Build(deps): Bump nanoid from 3.3.7 to 3.3.8 #2788
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: Check | |
on: [pull_request] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# lint by sh scripts | |
- name: End of File with Newline | |
run: ./cli-scripts/check_endoffile_with_newline.sh | |
# lint by node modules | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "18" | |
cache: "yarn" | |
- name: Install Dependencies | |
run: yarn install --immutable | |
- name: Run ESLint | |
run: yarn run lint:eslint | |
- name: Run tsc | |
run: yarn run lint:tsc | |
- name: Run Prettier check | |
run: yarn run lint:prettier | |
- name: Run Markdownlint | |
run: yarn run lint:markdownlint | |
- name: Run Stylelint | |
run: yarn run lint:stylelint | |
- name: Run Markuplint | |
run: yarn run lint:markuplint | |
# lint by rubocop | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Run Rubocop | |
run: bundle exec rubocop --parallel | |
- name: Run ERB Lint | |
run: bundle exec erblint --lint-all | |
# lint by hadolint | |
- name: Run Hadolint for dev.Dockerfile | |
uses: hadolint/hadolint-action@v3.1.0 | |
with: | |
dockerfile: dev.Dockerfile | |
- name: Run Hadolint for fly.Dockerfile | |
uses: hadolint/hadolint-action@v3.1.0 | |
with: | |
dockerfile: fly.Dockerfile | |
# lint by docker build checks | |
- name: Run Docker Build Checks for dev.Dockerfile | |
run: docker build --check --file dev.Dockerfile . | |
- name: Run Docker Build Checks for fly.Dockerfile | |
run: docker build --check --file fly.Dockerfile . |