Skip to content

Commit

Permalink
fix: yamory job - cache is not stable (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuanphamcybozu authored Jul 18, 2023
1 parent 1bd600a commit fc5f6f9
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,18 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
ruby-version: ruby

- uses: jonabc/setup-licensed@d6b3a6f7058c2b40c06d205e13e15c2418977566 # renovate: tag=v1.1.4
with:
version: '4.x'
github_token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
with:
version: 8.6.5

- uses: actions/setup-node@v3
with:
node-version: '16'
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- uses: pnpm/action-setup@v2
with:
version: 8.6.5

- uses: actions/setup-node@v3
with:
node-version: '16'
Expand Down Expand Up @@ -53,13 +54,15 @@ jobs:
- name: Check out repository
uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
with:
version: 8.6.5

- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x

- name: Install pnpm
run: npm install -g [email protected]
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
with:
version: 8.6.5

- uses: actions/setup-node@v3
with:
node-version: '16'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,13 @@ jobs:
with:
version: '3.x'
github_token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
with:
version: 8.6.5

- uses: actions/setup-node@v3
with:
node-version: '16'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ jobs:
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
with:
version: 8.6.5

- uses: actions/setup-node@v3
with:
node-version: '16'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/yamory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
with:
version: 8.6.5

- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'pnpm'

- name: download and validate Yamory script
working-directory: /tmp
Expand Down

0 comments on commit fc5f6f9

Please sign in to comment.