Skip to content

Merge pull request #741 from y-yagi/dependabot/npm_and_yarn/playwrigh… #1304

Merge pull request #741 from y-yagi/dependabot/npm_and_yarn/playwrigh…

Merge pull request #741 from y-yagi/dependabot/npm_and_yarn/playwrigh… #1304

Workflow file for this run

name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: Show node version
run: node -v
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Run yarn install
run: yarn install
- name: Run prettier
run: yarn pretty-check