chore: fix setuo-node cache

This commit is contained in:
DIYgod 2021-11-28 00:53:01 +00:00
parent ba09be474d
commit 59b5b1a46a
No known key found for this signature in database
GPG Key ID: D159328F47A80DCA
5 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache: 'yarn'
- name: build file
run: yarn && npm run build:all
- name: Deploy

View File

@ -14,7 +14,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'npm'
cache: 'yarn'
- run: yarn install
- run: npm run format
- name: Commit files

View File

@ -16,7 +16,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'npm'
cache: 'yarn'
registry-url: 'https://registry.npmjs.org'
- name: Release
run: |

View File

@ -10,7 +10,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'npm'
cache: 'yarn'
- run: yarn
- name: Lint
run: |

View File

@ -22,7 +22,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache: 'yarn'
- run: yarn
- run: npm run jest
env: