From 89ec1f7dbecf836b5d736da9c267bd8fa3633d18 Mon Sep 17 00:00:00 2001 From: Jonas Hungershausen Date: Wed, 8 Jan 2025 15:48:19 +0100 Subject: [PATCH] chore: cleanup CI files --- .github/workflows/argos.yml | 35 - .github/workflows/playwright.yml | 14 +- docs/kratos/quickstart.mdx | 2 +- package-lock.json | 1305 +-------------------- package.json | 4 +- playwright-argos.config.ts | 25 - tests/playwright-argos/README.md | 1 - tests/playwright-argos/screenshot.css | 20 - tests/playwright-argos/screenshot.spec.ts | 52 - tests/playwright-argos/utils.ts | 19 - 10 files changed, 67 insertions(+), 1410 deletions(-) delete mode 100644 .github/workflows/argos.yml delete mode 100644 playwright-argos.config.ts delete mode 100644 tests/playwright-argos/README.md delete mode 100644 tests/playwright-argos/screenshot.css delete mode 100644 tests/playwright-argos/screenshot.spec.ts delete mode 100644 tests/playwright-argos/utils.ts diff --git a/.github/workflows/argos.yml b/.github/workflows/argos.yml deleted file mode 100644 index 64872efaf..000000000 --- a/.github/workflows/argos.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Argos CI Screenshots - -on: - push: - branches: [master] - pull_request: - branches: [master] - workflow_dispatch: - -jobs: - take-screenshots: - runs-on: ubuntu-latest - steps: - - name: Check out repository code - uses: actions/checkout@v4 - - - name: Use Node.js - uses: actions/setup-node@v3 - with: - node-version: current - - - name: Install dependencies - run: npm i - - - name: Install Playwright browsers - run: npm exec playwright install --with-deps chromium - - - name: Build the website - run: npm run build - - - name: Take screenshots with Playwright - run: npm exec playwright test -- --config playwright-argos.config.ts - - - name: Upload screenshots to Argos - run: npm exec argos upload ./screenshots diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 9ad013941..eb35a2fad 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -18,14 +18,14 @@ jobs: timeout-minutes: 60 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: "16" + node-version: "20" cache: "npm" - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v5 with: - go-version: "^1.17.6" + go-version: "^1.22.1" - uses: shivammathur/setup-php@v2 with: php-version: "8.1" @@ -34,7 +34,7 @@ jobs: with: flutter-version: "3.10.6" channel: "stable" - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.10" - run: npm install @@ -50,4 +50,4 @@ jobs: path: | playwright-report/ test-results/ - retention-days: 30 + retention-days: 7 diff --git a/docs/kratos/quickstart.mdx b/docs/kratos/quickstart.mdx index 1e28bbffa..792f43f30 100644 --- a/docs/kratos/quickstart.mdx +++ b/docs/kratos/quickstart.mdx @@ -12,7 +12,7 @@ will help you install Ory Kratos and some additional dependencies so that you ca Please be aware that this guide isn't a replacement for studying the docs. You must understand core concepts and APIs to use Ory Kratos productively. This is merely a guide to get you set up with some examples. -