Skip to content

Commit f2fee4c

Browse files
Merge branch 'master' into feature-restore-resources-by-asset-id
2 parents ab17742 + 362f676 commit f2fee4c

File tree

3 files changed

+38
-27
lines changed

3 files changed

+38
-27
lines changed

.github/workflows/ci.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: ["**"]
6+
pull_request:
7+
branches: ["**"]
8+
9+
jobs:
10+
test:
11+
name: Node ${{ matrix.node }} • tests
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
node: ["9", "10", "12", "14", "16", "18", "20", "22"]
16+
runs-on: ubuntu-latest
17+
timeout-minutes: 30
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Setup Node
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: ${{ matrix.node }}
26+
27+
- name: Print Node & npm versions
28+
run: |
29+
node -v
30+
npm -v
31+
32+
- name: Install dependencies
33+
run: npm ci || npm i
34+
35+
- name: Run tests with timeout
36+
timeout-minutes: 25
37+
run: npm run test-with-temp-cloud

.travis.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ cloudinary.v2.uploader.upload("/home/my_image.jpg", {upload_preset: "my_preset"}
7474

7575
## Contributions
7676
- Ensure tests run locally (add test command)
77-
- Open a PR and ensure Travis tests pass
77+
- Open a PR and ensure tests pass
7878

7979

8080
## Get Help

0 commit comments

Comments
 (0)