Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 20 additions & 27 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,38 +15,31 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [18, 20, 22]
node-version: [18, 20, 22, 24]

steps:
-
uses: actions/checkout@v4
-
name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
-
name: Install Dependencies
run: npm install
-
name: Run Tests
run: npm test
env:
APIFY_PROXY_PASSWORD: ${{ secrets.APIFY_TEST_USER_PROXY_PASSWORD }}
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm and dependencies
uses: apify/workflows/pnpm-install@main
- name: Run Tests
run: pnpm test
env:
APIFY_PROXY_PASSWORD: ${{ secrets.APIFY_TEST_USER_PROXY_PASSWORD }}

lint:
name: Lint
runs-on: ubuntu-latest

steps:
-
uses: actions/checkout@v4
-
name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22
-
run: npm install
-
run: npm run lint
- uses: actions/checkout@v4
- name: Use Node.js 24
uses: actions/setup-node@v4
with:
node-version: 24
- name: Install pnpm and dependencies
uses: apify/workflows/pnpm-install@main
- run: pnpm lint
8 changes: 4 additions & 4 deletions .github/workflows/publish-to-npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
node-version: 24
registry-url: 'https://registry.npmjs.org'

- name: Install Dependencies
run: npm install
- name: Install pnpm and dependencies
uses: apify/workflows/pnpm-install@main

- name: Publish to NPM (@latest)
if: inputs.dist-tag == 'latest'
Expand All @@ -59,7 +59,7 @@ jobs:
timeout_minutes: 10
max_attempts: 5
retry_wait_seconds: 30
command: npm publish --tag latest --access public
command: pnpm publish --tag latest --access public --no-git-checks

- name: Publish to NPM (@next)
if: inputs.dist-tag == 'next'
Expand All @@ -68,4 +68,4 @@ jobs:
timeout_minutes: 10
max_attempts: 5
retry_wait_seconds: 30
command: npm publish --tag next --access public
command: pnpm publish --tag next --access public --no-git-checks
16 changes: 8 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [18, 20, 22]
node-version: [18, 20, 22, 24]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -36,11 +36,11 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm install
- name: Install pnpm and dependencies
uses: apify/workflows/pnpm-install@main

- name: Run Tests
run: npm test
run: pnpm test
env:
APIFY_PROXY_PASSWORD: ${{ secrets.APIFY_TEST_USER_PROXY_PASSWORD }}

Expand All @@ -60,8 +60,8 @@ jobs:
with:
node-version: 24

- name: Install Dependencies
run: npm install
- name: Install pnpm and dependencies
uses: apify/workflows/pnpm-install@main

- name: Configure git
run: |
Expand All @@ -70,11 +70,11 @@ jobs:

- name: Bump version to custom version
if: ${{ github.event.inputs.version == 'custom' && github.event.inputs.custom_version != '' }}
run: npm version ${{ github.event.inputs.custom_version }}
run: pnpm version ${{ github.event.inputs.custom_version }}

- name: Bump version to ${{ github.event.inputs.version }} version
if: ${{ github.event.inputs.version != 'custom' }}
run: npm version ${{ github.event.inputs.version }}
run: pnpm version ${{ github.event.inputs.version }}

- name: Push version commit and tag
run: git push --follow-tags
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
dist
.idea
node_modules
yarn.lock
.yarn
coverage
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

Loading
Loading