Skip to content

Bump prettier from 2.5.1 to 3.3.0 #57

Bump prettier from 2.5.1 to 3.3.0

Bump prettier from 2.5.1 to 3.3.0 #57

Workflow file for this run

name: Test
on: pull_request
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16.16.0
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- name: Restore yarn cache
uses: actions/cache@v4
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: yarn-cache-folder-${{ hashFiles('**/yarn.lock', '.yarnrc.yml') }}
restore-keys: |
yarn-cache-folder-
- name: Install dependencies
run: yarn install --immutable
- name: Build yarn
run: yarn run build
- name: Git checkout
run: |
if [ -n "$(git status --porcelain)" ]; then
echo "ERROR: Please run *yarn build* and commit your changes.";
git diff --exit-code
fi
- name: Run tests
run: yarn run test