build(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 #4
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: Check Code | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Captura diretório do pnpm | |
id: pnpm-cache | |
run: echo "dir=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT" | |
- name: Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.pnpm-cache.outputs.dir }} | |
key: ${{ runner.os }}-cache-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-cache-${{ hashFiles('**/package-lock.json') }} | |
${{ runner.os }}-cache- | |
- name: Instala dependência do JavaScript | |
run: pnpm install | |
- name: Executa teste | |
run: pnpm eslint resources/js/{Components,Pages} | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Captura diretório do pnpm | |
id: pnpm-cache | |
run: echo "dir=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT" | |
- name: Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.pnpm-cache.outputs.dir }} | |
key: ${{ runner.os }}-cache-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-cache-${{ hashFiles('**/package-lock.json') }} | |
${{ runner.os }}-cache- | |
- name: Instala dependência do JavaScript | |
run: pnpm install | |
- name: Executa teste | |
run: pnpm prettier --check resources/js/{Components,Pages} |