mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-22 01:53:24 +01:00
docs: remove warning about packageManager and pnpm default
This commit is contained in:
parent
c214b69bae
commit
d5a1abb013
1 changed files with 0 additions and 5 deletions
|
@ -31,7 +31,6 @@ jobs:
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: cloudflare/wrangler-action@v3
|
uses: cloudflare/wrangler-action@v3
|
||||||
with:
|
with:
|
||||||
packageManager: pnpm # you can omit this if you use npm
|
|
||||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -53,10 +52,6 @@ jobs:
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
### packageManager
|
|
||||||
|
|
||||||
⚠️ you must specify package manager. If not specified GH action assumes you are using npm and other managers might be failing. For example pnpm will fail with: `Cannot read properties of null (reading 'matches')`
|
|
||||||
|
|
||||||
If you need to install a specific version of Wrangler to use for deployment, you can also pass the input `wranglerVersion` to install a specific version of Wrangler from NPM. This should be a [SemVer](https://semver.org/)-style version number, such as `2.20.0`:
|
If you need to install a specific version of Wrangler to use for deployment, you can also pass the input `wranglerVersion` to install a specific version of Wrangler from NPM. This should be a [SemVer](https://semver.org/)-style version number, such as `2.20.0`:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
Loading…
Reference in a new issue