chore(deps): update dependency postcss to v8.4.48 (#780) #2844
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: Test with Jest | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
- 'renovate.json' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
- 'renovate.json' | |
jobs: | |
test: | |
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }} | |
name: Test with Jest | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
permissions: | |
contents: read | |
services: | |
mariadb: | |
image: mariadb:11.5.2 | |
ports: | |
- 3306:3306 | |
env: | |
MYSQL_ROOT_PASSWORD: passwd | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
run_install: false | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22.11.0 | |
cache: pnpm | |
cache-dependency-path: pnpm-lock.yaml | |
- name: Check MySQL CLI existence | |
id: check-mysql-cli | |
uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v3 | |
with: | |
files: '/usr/bin/mysql' | |
- name: Install MySQL CLI | |
if: steps.check-mysql-cli.outputs.files_exists == 'false' | |
run: sudo apt-get update && sudo apt-get -y install mysql-client | |
- name: Setup MariaDB | |
run: 'mysql --protocol=tcp -h localhost --port 3306 -u root -ppasswd -e "$(cat ./.github/workflows/test-data/test-mariadb-setup.sql)"' | |
- run: cp ./.github/workflows/test-data/.env.test ./.env.test.local | |
- run: node --version | |
- run: pnpm --version | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm run test |