Skip to content

chore: bump prettier from 3.3.1 to 3.3.2 #1631

chore: bump prettier from 3.3.1 to 3.3.2

chore: bump prettier from 3.3.1 to 3.3.2 #1631

name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build_test_deploy:
name: Build, test and deploy
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Skip CI check
uses: mstachniuk/ci-skip@v1
- name: Set up Node.js
if: env.CI_SKIP == 'false'
uses: actions/setup-node@v4
with:
node-version: 16.x
- name: Set yarn cache directory
if: env.CI_SKIP == 'false'
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Get yarn cache
uses: actions/cache@v4
if: env.CI_SKIP == 'false'
id: yarn-cache
with:
path: ${{steps.yarn-cache-dir-path.outputs.dir}}
key: ${{runner.os}}-yarn-${{hashFiles('**/yarn.lock')}}
restore-keys: ${{runner.os}}-yarn-
- name: Build, lint and test
if: env.CI_SKIP == 'false'
run: |
yarn
yarn lint
yarn test
yarn dist
- name: Deploy
if: |
github.event_name != 'pull_request' &&
!startsWith(github.event.head_commit.message, 'chore(deps')
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build
branch: gh-pages