Skip to content

Commit

Permalink
Merge branch 'master' into telegram-integration-guide
Browse files Browse the repository at this point in the history
  • Loading branch information
TC-MO authored Jan 15, 2024
2 parents 1dd384e + b0445c8 commit b7635e4
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 20 deletions.
4 changes: 3 additions & 1 deletion .github/styles/Apify/Capitalization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ level: error
tokens:
- '\bactor\b'
- '\bactors\b'
- '\bapify\b(?!-\w+)'
- '(?<!@)\bapify\b(?!-\w+)'
- '(?<!\()\bhttps?://[^\s]*\bapify\b[^\s]*\b(?!\))|(?<!\[)\bhttps?://[^\s]*\bapify\b[^\s]*\b(?!\])'

nonword: false
47 changes: 32 additions & 15 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,41 @@ jobs:
name: Lint markdown content
runs-on: ubuntu-latest
steps:
- name: Checkout Source code
uses: actions/checkout@v4
- name: Checkout Source code
uses: actions/checkout@v4

- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
cache-dependency-path: 'package-lock.json'
registry-url: 'https://npm.pkg.github.com/'
scope: '@apify-packages'
- name: Get changed files
id: changed-files
uses: tj-actions/[email protected]
with:
files: |
**/*.md
**/*.mdx
separator: ","

- name: Install Dependencies
run: npm ci --force
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
cache-dependency-path: 'package-lock.json'
registry-url: 'https://npm.pkg.github.com/'
scope: '@apify-packages'

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

- name: List and Lint Changed Markdown Files
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
IFS=',' read -ra FILE_ARRAY <<< "$ALL_CHANGED_FILES"
for file in "${FILE_ARRAY[@]}"; do
npx markdownlint "$file"
done
- run: npm run lint:md
lint_code:
name: Lint app code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v41.0.1
uses: tj-actions/changed-files@v41.1.1
with:
files: |
**/*.{md,mdx}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,4 @@ Outputted is `2099`, exactly what we expected. Awesome!

## Next up {#next}

In the [next lesson], we'll be discussing how to use some of the core types that TypeScript offers.
In the [next lesson](./using_types.md)!, we'll be discussing how to use some of the core types that TypeScript offers.
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ apify login
Then, you can pull your Actor using the following command:

```bash
apify apify pull [actor_name]
apify pull [actor_name]
```

or with specified version:

```bash
apify apify pull [actor_name] --version [version_number]
apify pull [actor_name] --version [version_number]
```

## 6. Iterate
Expand Down
1 change: 1 addition & 0 deletions sources/platform/api_v2/api_v2_reference.apib
Original file line number Diff line number Diff line change
Expand Up @@ -5124,6 +5124,7 @@ a summary of your limits, and your current usage.
- description: `My public actor!` (string, nullable)
- pictureUrl: `https://...` (string, nullable)
- userPictureUrl: `https://...` (string, nullable)
- url: `https://...` (string, nullable)
- stats (object, required)
- totalBuilds: 9 (number, required)
- totalRuns: 16 (number, required)
Expand Down
1 change: 1 addition & 0 deletions vale.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ TokenIgnores = (\x60[^\n\x60]+\x60), ([^\n]+=[^\n]*), (\[(?=.*\.com(?:\/.*)?).+?
Microsoft.Contractions = NO
Microsoft.Foreign = NO
Microsoft.We = NO
Microsoft.Quotes = NO

0 comments on commit b7635e4

Please sign in to comment.