Skip to content

Commit f1864d5

Browse files
Added yarn caching (#7)
1 parent 4f700b3 commit f1864d5

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.github/workflows/pr.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout
10-
uses: actions/checkout@v2
10+
uses: actions/checkout@v3
1111
with:
1212
fetch-depth: '0'
13+
- name: Install node
14+
uses: actions/setup-node@v3
15+
with:
16+
node-version: '16'
17+
cache: 'yarn'
1318
- name: Install ldid
1419
uses: MOZGIII/install-ldid-action@v1
1520
with:

.github/workflows/release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,21 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1616
with:
1717
fetch-depth: '0'
18+
- name: Install node
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: '16'
22+
cache: 'yarn'
1823
- name: Install ldid
1924
uses: MOZGIII/install-ldid-action@v1
2025
with:
2126
tag: v2.1.5-procursus6
2227
- name: Get next release version (dry run)
2328
id: taggerDryRun
24-
uses: anothrNick/github-tag-action@1.36.0
29+
uses: anothrNick/github-tag-action@1.61.0
2530
env:
2631
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2732
WITH_V: true
@@ -47,7 +52,7 @@ jobs:
4752
chmod +x astgen-linux
4853
- name: Set next release version
4954
id: taggerFinal
50-
uses: anothrNick/github-tag-action@1.36.0
55+
uses: anothrNick/github-tag-action@1.61.0
5156
env:
5257
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5358
WITH_V: true

0 commit comments

Comments
 (0)