chore: fix setuo-node cache

This commit is contained in:
DIYgod
2021-11-28 00:53:01 +00:00
parent ba09be474d
commit 59b5b1a46a
5 changed files with 5 additions and 5 deletions
+1 -1
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
+1 -1
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
+1 -1
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: |
+1 -1
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: |
+1 -1
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: