Skip to content

Commit

Permalink
Merge branch 'master' into lenka/dpa
Browse files Browse the repository at this point in the history
  • Loading branch information
lenkab151 committed Jan 13, 2025
2 parents ead6d68 + 04ade9a commit 45a9e3a
Show file tree
Hide file tree
Showing 536 changed files with 43,807 additions and 22,748 deletions.
2 changes: 1 addition & 1 deletion .github/styles/Apify/Apify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ level: warning
swap:
Apify Dashboard: Apify Console
apify freelancers: Apify freelancers
Apify Platfrom: Apify platform
Apify Platform: Apify platform
'(?:[Tt]he\s)?[Aa]pify\sproxy': Apify Proxy
circa: approx.
85 changes: 82 additions & 3 deletions .github/styles/config/vocabularies/Docs/accept.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,88 @@
apify(?=-\w+)
Apify(?=-\w+)
@apify\.com
\bApify\b
Actor(s)?
SDK(s)
[Ss]torages
Crawlee
[Aa]utoscaling
CU

booleans
Docusaurus
env
npm
serverless
[Bb]oolean
node_modules
[Rr]egex
[Mm]onorepo
[Gg]ist
SDK
Dockerfile
Docker's

Docusaurus
navbar
nginx
npm

:::caution
:::note
:::info
:::tip
:::warning

maxWidth
startUrls

PDFs
dataset's
gif
Gzip

API's
APIs
webhook's
idempotency
backoff

Authy
reCaptcha
OAuth
untrusted
unencrypted
proxied

LLM
embedder
chatbot
[Ll]angchain

[Kk]eboola
[Aa]irbyte
[Qq]drant
[Pp]inecone
[Mm]ilvus
[Zz]illiz
llama_index
[Ff]lowise

exploitability
[Ww]hitepaper
[Cc]ron
scalably
metamorph
hostname
IPs
unscoped
multistep
[Aa]utogenerated
preconfigured
[Dd]atacenter

[Ww]ikipedia
[Zz]apier
[Tt]rello
[Pp]refill


[Mm]ultiselect
25 changes: 0 additions & 25 deletions .github/workflows/apiary.yaml

This file was deleted.

9 changes: 6 additions & 3 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,23 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: 'npm'
cache-dependency-path: 'package-lock.json'
always-auth: 'true'
registry-url: 'https://npm.pkg.github.com/'
scope: '@apify-packages'

- name: Enable corepack
run: |
corepack enable
- name: Build docs
run: |
npm ci --force
npm update @apify/openapi
npm run build
env:
APIFY_SIGNING_TOKEN: ${{ secrets.APIFY_SIGNING_TOKEN }}
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/lychee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,23 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Use Node.js 20
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: 'npm'
cache-dependency-path: 'package-lock.json'
always-auth: 'true'
registry-url: 'https://npm.pkg.github.com/'
scope: '@apify-packages'

- name: Enable corepack
run: |
corepack enable
- name: Build docs
run: |
npm ci --force
npm update @apify/openapi
npm run build
env:
APIFY_SIGNING_TOKEN: ${{ secrets.APIFY_SIGNING_TOKEN }}
Expand All @@ -33,22 +36,18 @@ jobs:

- name: Run Lychee Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1.10.0
uses: lycheeverse/lychee-action@v2.2.0
env:
GITHUB_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
with:
fail: false
fail: true
args: >
--base https://docs.apify.com
--exclude-path 'build/versions.html'
--max-retries 6
--verbose
--no-progress
--include-fragments
--accept '100..=103,200..=299,403..=403,429'
--format markdown
'./build/**/*.html'
continue-on-error: true

- name: Add job summary
if: always()
run: cat ./lychee/out.md >> $GITHUB_STEP_SUMMARY
43 changes: 43 additions & 0 deletions .github/workflows/openapi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Check OpenAPI specs

on:
push:

#env:
# APIFY_STAGING_TOKEN: ${{ secrets.APIFY_STAGING_TOKEN }}

jobs:
build:
name: Build the specification file
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
cache-dependency-path: 'package-lock.json'
registry-url: 'https://npm.pkg.github.com/'
scope: '@apify-packages'

- name: Enable corepack
run: |
corepack enable
- name: Install Dependencies
run: npm ci --force
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- run: |
npm ci
npm run redoc:test
# TODO
# - uses: actions/setup-python@v5
# with:
# python-version: '3.10'
# - run: python -m pip install schemathesis==3.35.0
Loading

0 comments on commit 45a9e3a

Please sign in to comment.