Skip to content

chore(deps): update dependency postcss to ^8.4.47 #3990

chore(deps): update dependency postcss to ^8.4.47

chore(deps): update dependency postcss to ^8.4.47 #3990

Workflow file for this run

# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
name: "Tests"
on: # yamllint disable-line rule:truthy
push:
branches:
- "main"
# eslint-disable-next-line yml/no-empty-mapping-value
pull_request: # yamllint disable-line rule:empty-values
concurrency:
group: "ci-tests-${{ github.ref }}-1"
cancel-in-progress: true
permissions:
contents: "read"
jobs:
files-changed:
name: "Detect what files changed"
runs-on: "ubuntu-22.04"
timeout-minutes: 3
# Map a step output to a job output
outputs:
packages: "${{ steps.changes.outputs.packages }}"
steps:
- name: "Git checkout"
uses: "actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11" # v4.1.1
env:
GIT_COMMITTER_NAME: "GitHub Actions Shell"
GIT_AUTHOR_NAME: "GitHub Actions Shell"
EMAIL: "github-actions[bot]@users.noreply.github.com"
- name: "Check for file changes"
uses: "dorny/paths-filter@7267a8516b6f92bdb098633497bad573efdbf271" # v2.12.0
id: "changes"
with:
token: "${{ github.token }}"
filters: ".github/file-filters.yml"
test:
if: "needs.files-changed.outputs.packages == 'true'"
needs: "files-changed"
strategy:
matrix:
os:
- "ubuntu-latest"
node_version: ["18", "20", "21"]
include:
- os: "macos-latest"
node_version: "20"
- os: "windows-latest"
node_version: "20"
fail-fast: false
name: "Build & Unit Test: node-${{ matrix.node_version }}, ${{ matrix.os }}"
runs-on: "${{ matrix.os }}"
steps:
- name: "Harden Runner"
uses: "step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142" # v2.7.0
with:
egress-policy: "audit"
- name: "Git checkout"
uses: "actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11" # v4.1.1
env:
GIT_COMMITTER_NAME: "GitHub Actions Shell"
GIT_AUTHOR_NAME: "GitHub Actions Shell"
EMAIL: "github-actions[bot]@users.noreply.github.com"
- uses: "pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598" # v2.4.0
with:
version: 8
run_install: false
- name: "Set node version to ${{ matrix.node_version }}"
uses: "actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8" # v4.0.2
with:
node-version: "${{ matrix.node_version }}"
cache: "pnpm"
- name: "Install packages"
run: "pnpm install --frozen-lockfile"
env:
SKIP_CHECK: "true"
SKIP_BUILD: "true"
- name: "Build"
run: "pnpm run build:packages"
- name: "Run test for browserslist-config-anolilab"
run: "pnpm run test:coverage:browserslist-config-anolilab"
- name: "Run test for package-json-utils"
run: "pnpm run test:coverage:package-json-utils"
- name: "Run test for stylelint-config"
run: "pnpm run test:coverage:stylelint-config"
- name: "Run stylelint config test"
run: "pnpm run test:stylelint"
- name: "Run babel config test"
run: "pnpm run test:babel"
# This check runs once all dependant jobs have passed
# It symbolizes that all required Frontend checks have succesfully passed (Or skipped)
# This check is the only required Github check
test-required-check:
needs: ["files-changed", "test"]
name: "Check Test Run"
# This is necessary since a failed/skipped dependent job would cause this job to be skipped
if: "always()"
runs-on: "ubuntu-22.04"
steps:
# If any jobs we depend on fail, we will fail since this is a required check
# NOTE: A timeout is considered a failure
- name: "Check for failures"
if: "contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')"
run: |
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1