Compare commits

..

6 Commits
v2 ... develop

Author SHA1 Message Date
4a4c5a48bb Update dependencies 2025-07-09 05:18:20 +05:30
3514a658eb Update branch references to main 2025-07-09 04:36:51 +05:30
7aefaa0b54 Merge pull request #967 from jrfnl/feature/readme-fix-broken-link
README: fix broken link
2025-06-25 05:04:51 +05:30
048eb79ef3 README: fix broken link 2025-06-25 01:31:29 +02:00
29247235f0 Merge pull request #966 from OskarStark/patch-1
⚙ Improvement: Update docs
2025-06-24 20:41:11 +05:30
e84efebd6e Update docs
As version 2 is the standard right now, make it clear by setting the v1 manually.
2025-06-24 17:39:04 +03:00
6 changed files with 1339 additions and 3776 deletions

View File

@ -2,7 +2,7 @@ name: Node workflow
on:
pull_request:
branches:
- master
- main
- develop
- verbose
paths-ignore:
@ -10,7 +10,7 @@ on:
- 'examples/**'
push:
branches:
- master
- main
- develop
- verbose
paths-ignore:

View File

@ -3,7 +3,7 @@ on:
workflow_dispatch:
pull_request:
branches:
- master
- main
- develop
- verbose
paths-ignore:
@ -11,7 +11,7 @@ on:
- 'examples/**'
push:
branches:
- master
- main
- develop
- verbose
paths-ignore:

2
.gitignore vendored
View File

@ -3,7 +3,7 @@ node_modules/
__tests__/runner/*
lib/
# Rest of the file pulled from https://github.com/github/gitignore/blob/master/Node.gitignore
# Rest of the file pulled from https://github.com/github/gitignore/blob/main/Node.gitignore
# Logs
logs
*.log

View File

@ -258,7 +258,7 @@ These tools can be set up globally using the `tools` input. It accepts a string
When you specify just the major version or the version in `major.minor` format, the latest patch version matching the input will be setup.
With the exception of major versions of `composer`, if you specify only the `major` version or the version in `major.minor` format for a tool you can get rate limited by GitHub's API. To avoid this, it is recommended to provide a [`GitHub` OAuth token](https://github.com/shivammathur/setup-php#composer-github-oauth "Composer GitHub OAuth").
With the exception of major versions of `composer`, if you specify only the `major` version or the version in `major.minor` format for a tool you can get rate limited by GitHub's API. To avoid this, it is recommended to provide a [`GitHub` OAuth token](https://github.com/shivammathur/setup-php#github-composer-authentication "Composer GitHub OAuth").
You can do that by setting `GITHUB_TOKEN` environment variable. The `COMPOSER_TOKEN` environment variable has been deprecated in favor of `GITHUB_TOKEN` and will be removed in the next major version.
```yaml
@ -278,7 +278,7 @@ These tools can be set up globally using the `tools` input. It accepts a string
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
tools: composer:v2
tools: composer:v1
```
- If you do not use composer in your workflow, you can specify `tools: none` to skip it.

5070
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -40,27 +40,30 @@
"compare-versions": "^6.1.1"
},
"devDependencies": {
"@eslint/compat": "^1.3.0",
"@eslint/js": "9.28.0",
"@types/jest": "^29.5.14",
"@types/node": "^24.0.1",
"@typescript-eslint/eslint-plugin": "^8.34.0",
"@typescript-eslint/parser": "^8.34.0",
"@eslint/compat": "^1.3.1",
"@eslint/js": "9.30.1",
"@types/jest": "^30.0.0",
"@types/node": "^24.0.11",
"@typescript-eslint/eslint-plugin": "^8.36.0",
"@typescript-eslint/parser": "^8.36.0",
"@vercel/ncc": "^0.38.3",
"eslint": "9.28.0",
"eslint": "9.30.1",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.13.3",
"eslint-plugin-prettier": "^5.4.1",
"globals": "^16.2.0",
"jest": "^30.0.0",
"jest-circus": "^30.0.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jest": "^29.0.1",
"eslint-plugin-prettier": "^5.5.1",
"globals": "^16.3.0",
"jest": "^30.0.4",
"jest-circus": "^30.0.4",
"nock": "^14.0.5",
"prettier": "^3.5.3",
"prettier": "^3.6.2",
"simple-git-hooks": "^2.13.0",
"ts-jest": "^29.4.0",
"typescript": "^5.8.3"
},
"overrides": {
"test-exclude": "^7.0.1"
},
"bugs": {
"url": "https://github.com/shivammathur/setup-php/issues"
},