docs: add --frozen-lockfile to README

Many folks will copy/paste the sample code from the README directly. In CI, most people will want to enforce a frozen lockfile.
This commit is contained in:
Ben Limmer 2024-01-27 11:11:22 -07:00 committed by GitHub
parent 94177e527c
commit b4a56f1150
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,7 @@ If you need to authenticate with a private registry, you can set the `BUN_AUTH_T
- name: Install Dependencies
env:
BUN_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: bun install
run: bun install --frozen-lockfile
```
### Node.js not needed