This repository has been archived by the owner on Nov 26, 2024. It is now read-only.
Bump @babel/preset-env from 7.22.5 to 7.25.4 #1536
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: コーディングスタイルチェック | |
on: | |
push: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Restore Cache | |
uses: actions/cache@v3 | |
id: node_modules_cache_id | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}-v8 | |
- run: echo '${{ toJSON(steps.node_modules_cache_id.outputs) }}' | |
- name: Run yarn install | |
if: ${{ steps.node_modules_cache_id.outputs.cache-hit != 'true' }} | |
run: docker compose -f docker-compose.ci.yml run --rm app yarn install --frozen-lockfile | |
- name: Run prettier | |
run: docker compose -f docker-compose.ci.yml run --rm app yarn run prettier |