Skip to content

Commit

Permalink
Added yarn caching (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-leuthaeuser authored Jan 18, 2023
1 parent 4f700b3 commit f1864d5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Install node
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
- name: Install ldid
uses: MOZGIII/install-ldid-action@v1
with:
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Install node
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
- name: Install ldid
uses: MOZGIII/install-ldid-action@v1
with:
tag: v2.1.5-procursus6
- name: Get next release version (dry run)
id: taggerDryRun
uses: anothrNick/github-tag-action@1.36.0
uses: anothrNick/github-tag-action@1.61.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
Expand All @@ -47,7 +52,7 @@ jobs:
chmod +x astgen-linux
- name: Set next release version
id: taggerFinal
uses: anothrNick/github-tag-action@1.36.0
uses: anothrNick/github-tag-action@1.61.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
Expand Down

0 comments on commit f1864d5

Please sign in to comment.