chore(deps-dev): bump prettier and @types/prettier #13712
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: Build and Test | |
on: | |
push: | |
branches: [main, staging, dev] | |
pull_request: | |
branches: [main, staging, dev] | |
jobs: | |
build_test: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{github.token}} | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
- name: Yarn cache | |
uses: c-hive/[email protected] | |
- name: Install dependencies | |
run: yarn --immutable | |
- name: Use xvfb-run on Linux | |
run: sed -i 's/\(electron-mocha \)/xvfb-run \1/g' package.json | |
- name: Test | |
run: yarn test |