Skip to content

chore(deps): update dependency stylelint to v16.11.0 #16721

chore(deps): update dependency stylelint to v16.11.0

chore(deps): update dependency stylelint to v16.11.0 #16721

Workflow file for this run

on:
push:
pull_request:
branches:
- main
workflow_dispatch:
schedule:
- cron: "10 0 * * *"
# Thanks to https://stackoverflow.com/a/72408109/1954789
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
NO_CLEAR: yes
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
# https://github.com/actions/setup-node
- uses: actions/setup-node@v4
with:
node-version: current
cache: npm
- run: ./setup.sh
- run: make build
- name: Upload built
uses: actions/upload-artifact@v4
# Include all generated files
with:
name: deploy
path: |
.ovhconfig
www
tests-unit:
runs-on: ubuntu-latest
timeout-minutes: 5
needs:
- build
strategy:
# Do not stop the rest of the matrix in case of failure
fail-fast: false
matrix:
target:
- dump
- lint
- frontend-test
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
# https://github.com/actions/setup-node
- uses: actions/setup-node@v4
with:
node-version: current
cache: npm
- uses: actions/download-artifact@v4
with:
name: deploy
path: .
- run: make github
- run: make "${{ matrix.target }}"
tests-unit-with-backend:
runs-on: ubuntu-latest
timeout-minutes: 5
needs:
- build
strategy:
# Do not stop the rest of the matrix in case of failure
fail-fast: false
matrix:
target:
- backend-test
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
# https://github.com/actions/setup-node
- uses: actions/setup-node@v4
with:
node-version: current
cache: npm
- uses: actions/download-artifact@v4
with:
name: deploy
path: .
- run: make github
- run: make dependencies
- run: make start
- run: make "${{ matrix.target }}"
tests-e2e-cypress:
needs:
- build
strategy:
fail-fast: false
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@v4
with:
node-version: current
cache: npm
# https://github.com/marketplace/actions/setup-chrome
- name: Setup Chrome
uses: browser-actions/setup-chrome@v1
- uses: actions/download-artifact@v4
with:
name: deploy
path: .
- run: ./setup.sh
- run: make github
- run: make dc-build
- run: make start
- run: make dependencies
- run: make integration-test-desktop-run
- run: make integration-test-desktop-styles
- name: Upload styles
if: always()
uses: actions/upload-artifact@v4
with:
name: integration-desktop
path: tmp/integration/desktop
tests-e2e-playwright-strict:
needs:
- build
strategy:
fail-fast: false
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@v4
with:
node-version: current
cache: npm
# https://github.com/marketplace/actions/setup-chrome
- name: Setup Chrome
uses: browser-actions/setup-chrome@v1
- uses: actions/download-artifact@v4
with:
name: deploy
path: .
- run: ./setup.sh
- run: make github
- run: make dc-build
- run: make start
- run: make dependencies
# TODO: Should not fail!
- run: make integration-test-playwright-strict || true
- name: Upload styles
if: always()
uses: actions/upload-artifact@v4
with:
name: integration-playwright
path: tmp/integration/playwright
test-e2e-playwright:
needs:
- build
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@v4
with:
node-version: current
cache: npm
# https://github.com/marketplace/actions/setup-chrome
- name: Setup Chrome
uses: browser-actions/setup-chrome@v1
- uses: actions/download-artifact@v4
with:
name: deploy
path: .
- run: ./setup.sh
- run: make github
- run: make dc-build
- run: make start
- run: make dependencies
- run: make integration-test-playwright
- run: git status
- name: Upload reference images
if: always()
uses: actions/upload-artifact@v4
with:
name: integration-playwright-updated-snapshots
path: tests/e2e/__github__/**/*.png
valid:
# placeholder for validation of PR
needs:
- tests-unit
- tests-unit-with-backend
- tests-e2e-cypress
# - tests-e2e-playwright
- test-e2e-playwright
runs-on: ubuntu-latest
steps:
- run: echo "ok"
deploy:
environment: production
needs:
- valid
runs-on: ubuntu-latest
timeout-minutes: 20
concurrency:
group: release-${{ github.ref }}
if: ${{ github.ref_name == 'main' && github.ref_type == 'branch' }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@v4
with:
node-version: current
cache: npm
- uses: actions/download-artifact@v4
with:
name: deploy
path: .
# https://github.com/marketplace/actions/setup-chrome
- name: Setup Chrome
uses: browser-actions/setup-chrome@v1
- run: ./setup.sh
- run: make github
- run: make build
- run: make deploy
env:
CRYPTOMEDIC_DEPLOY_WEB_HOST: ${{ vars.CRYPTOMEDIC_DEPLOY_WEB_HOST }}
CRYPTOMEDIC_DEPLOY_WEB_PORT: ${{ vars.CRYPTOMEDIC_DEPLOY_WEB_PORT }}
CRYPTOMEDIC_DEPLOY_WEB_TOKEN: ${{ secrets.CRYPTOMEDIC_DEPLOY_WEB_TOKEN }}
CRYPTOMEDIC_DEPLOY_FILES_HOST: ${{ vars.CRYPTOMEDIC_DEPLOY_FILES_HOST }}
CRYPTOMEDIC_DEPLOY_FILES_USER: ${{ vars.CRYPTOMEDIC_DEPLOY_FILES_USER }}
CRYPTOMEDIC_DEPLOY_FILES_PASSWORD: ${{ secrets.CRYPTOMEDIC_DEPLOY_FILES_PASSWORD }}
- name: Upload deploy.log
if: always()
uses: actions/upload-artifact@v4
with:
name: deploy.log
path: tmp/deploy.log