chore: npm ci -> yarn

This commit is contained in:
DIYgod
2021-11-28 00:36:24 +00:00
parent efa0018b3f
commit 6e10cb59ba
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -11,7 +11,7 @@ jobs:
with:
node-version: '14'
cache: 'npm'
- run: npm ci
- run: yarn
- name: Lint
run: |
npm run lint
+1 -1
View File
@@ -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] }}/
+1 -1
View File
@@ -173,7 +173,7 @@ $ cd RSSHub
$ npm ci --production
```
`yarnv1` (不推荐)
`yarn`
```bash
$ yarn install --production
+1 -1
View File
@@ -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: