mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-21 12:49:53 +08:00
chore: npm ci -> yarn
This commit is contained in:
@@ -25,7 +25,7 @@ jobs:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
- name: build file
|
||||
run: npm ci && npm run build:all
|
||||
run: yarn && npm run build:all
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
with:
|
||||
node-version: '14'
|
||||
cache: 'npm'
|
||||
- run: npm ci
|
||||
- run: yarn
|
||||
- name: Lint
|
||||
run: |
|
||||
npm run lint
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
- run: npm ci
|
||||
- run: yarn
|
||||
- run: npm run jest
|
||||
env:
|
||||
REDIS_URL: redis://localhost:${{ job.services.redis.ports[6379] }}/
|
||||
|
||||
@@ -173,7 +173,7 @@ $ cd RSSHub
|
||||
$ npm ci --production
|
||||
```
|
||||
|
||||
或 `yarnv1` (不推荐)
|
||||
或 `yarn`
|
||||
|
||||
```bash
|
||||
$ yarn install --production
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
dest: /home/rsshub/app
|
||||
update: yes
|
||||
- name: Install repo dependencies
|
||||
command: npm ci --production
|
||||
command: yarn install --production
|
||||
args:
|
||||
chdir: /home/rsshub/app
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user