Skip to content

Commit

Permalink
ci: set yarn cache on workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
pablobbb committed Mar 5, 2024
1 parent 838a9f5 commit 6fb1756
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'npm'
cache: 'yarn'
- run: yarn install --immutable
- run: yarn build
- run: yarn build-es3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
node-version: 'v18.x'
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
cache: 'yarn'
- name: Setup Pages
uses: actions/configure-pages@v3
- run: yarn install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
node-version: 'v18.x'
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
cache: 'yarn'
- run: yarn install --immutable
- run: yarn build
- run: yarn build-es3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'npm'
cache: 'yarn'
- run: yarn install --immutable
- run: yarn test

0 comments on commit 6fb1756

Please sign in to comment.