Skip to content

chore(deps-dev): bump postcss-preset-env from 9.5.2 to 9.5.3 #108

chore(deps-dev): bump postcss-preset-env from 9.5.2 to 9.5.3

chore(deps-dev): bump postcss-preset-env from 9.5.2 to 9.5.3 #108

Workflow file for this run

name: build-pr
on:
pull_request:
branches:
- master
jobs:
prettier:
name: Format validation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Restore Yarn cache
uses: actions/cache@v3
env:
cache-name: yarn-cache
with:
path: .yarn/cache
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}
- name: Restore Prettier cache
uses: actions/cache@v3
env:
cache-name: prettier-cache
with:
path: ./node_modules/.cache/prettier
key: ${{ runner.os }}-${{ env.cache-name }}
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
run: yarn install --immutable
env:
HUSKY: 0
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true
- name: Run Prettier
run: yarn prettier
eslint:
name: Lint validation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Restore Yarn cache
uses: actions/cache@v3
env:
cache-name: yarn-cache
with:
path: .yarn/cache
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
run: yarn install --immutable
env:
HUSKY: 0
- name: Run linting
run: |
yarn lint
unit-tests:
name: Jest tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Restore Yarn cache
uses: actions/cache@v3
env:
cache-name: yarn-cache
with:
path: .yarn/cache
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
run: yarn install --immutable
env:
HUSKY: 0
- name: Run unit tests
run: yarn test
# e2e-tests:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Restore cache
# id: yarn-cache
# uses: actions/cache@v2
# with:
# path: |
# node_modules
# */*/node_modules
# key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
# - name: Install project dependencies
# if: steps.yarn-cache.outputs.cache-hit != 'true'
# run: yarn
# - name: Generate files
# run: |
# yarn lerna run generate
# - name: Run e2e tests
# run: |
# yarn workspace @telekom/scale-components test --e2e --max-workers=8 --debug
# visual-tests:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Restore cache
# id: yarn-cache
# uses: actions/cache@v2
# with:
# path: |
# node_modules
# */*/node_modules
# key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
# - name: Install project dependencies
# if: steps.yarn-cache.outputs.cache-hit != 'true'
# run: yarn
# - name: Generate files
# run: |
# yarn lerna run generate
# - name: Build Components
# run: |
# yarn workspace @telekom/scale-components build
# - name: Build Storybook
# run: |
# yarn workspace @telekom/scale-storybook-vue build --quiet
# - name: Copy Storybook for visual tests
# run: |
# yarn workspace @telekom/scale-visual-tests copy
# - name: Run visual tests
# run: |
# yarn workspace @telekom/scale-visual-tests test:ci
# - name: Upload Diff output
# uses: actions/upload-artifact@v2
# if: failure()
# with:
# name: diff-output
# path: packages/visual-tests/src/__image_snapshots__/__diff_output__