ci: use .npmrc for registry mirror instead of env var
Deploy Slides / build-and-deploy (push) Has been cancelled
Deploy Slides / build-and-deploy (push) Has been cancelled
This commit is contained in:
@@ -24,9 +24,9 @@ jobs:
|
||||
run: npm install -g pnpm
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
env:
|
||||
npm_config_registry: https://registry.npmmirror.com
|
||||
run: |
|
||||
echo "registry=https://registry.npmmirror.com" > .npmrc
|
||||
pnpm install --frozen-lockfile
|
||||
|
||||
- name: Build all decks
|
||||
run: pnpm run build
|
||||
|
||||
Reference in New Issue
Block a user