Skip to content

Commit 301e0c4

Browse files
committed
Try to fix runner
1 parent c891a29 commit 301e0c4

File tree

4 files changed

+36
-36
lines changed

4 files changed

+36
-36
lines changed

.github/workflows/build-lint-test.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
env:
88
GH_PR_NUM: ${{ github.event.number }}
99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
1111
- run: |
1212
if [[ ! -z "${GH_PR_NUM}" ]]; then
1313
echo "Checking out PR"
@@ -17,17 +17,17 @@ jobs:
1717
- uses: actions/setup-node@v1
1818
with:
1919
node-version: '20'
20-
- uses: actions/cache@v2
20+
- uses: actions/cache@v4
2121
id: yarn-cache
2222
name: Cache npm deps
2323
with:
2424
path: |
25-
node_modules
26-
**/node_modules
25+
node_modules
26+
**/node_modules
2727
key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
2828
- run: yarn install --frozen-lockfile
2929
if: steps.yarn-cache.outputs.cache-hit != 'true'
30-
- uses: actions/cache@v2
30+
- uses: actions/cache@v4
3131
id: dist
3232
name: Cache dist
3333
with:
@@ -43,7 +43,7 @@ jobs:
4343
GH_PR_NUM: ${{ github.event.number }}
4444
needs: build
4545
steps:
46-
- uses: actions/checkout@v2
46+
- uses: actions/checkout@v4
4747
- run: |
4848
if [[ ! -z "${GH_PR_NUM}" ]]; then
4949
echo "Checking out PR"
@@ -53,17 +53,17 @@ jobs:
5353
- uses: actions/setup-node@v1
5454
with:
5555
node-version: '20'
56-
- uses: actions/cache@v2
56+
- uses: actions/cache@v4
5757
id: yarn-cache
5858
name: Cache npm deps
5959
with:
6060
path: |
61-
node_modules
62-
**/node_modules
61+
node_modules
62+
**/node_modules
6363
key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
6464
- run: yarn install --frozen-lockfile
6565
if: steps.yarn-cache.outputs.cache-hit != 'true'
66-
- uses: actions/cache@v2
66+
- uses: actions/cache@v4
6767
id: lint-cache
6868
name: Load lint cache
6969
with:
@@ -79,7 +79,7 @@ jobs:
7979
GH_PR_NUM: ${{ github.event.number }}
8080
needs: build
8181
steps:
82-
- uses: actions/checkout@v2
82+
- uses: actions/checkout@v4
8383
# Yes, we really want to checkout the PR
8484
- run: |
8585
if [[ ! -z "${GH_PR_NUM}" ]]; then
@@ -90,18 +90,18 @@ jobs:
9090
- uses: actions/setup-node@v1
9191
with:
9292
node-version: '20'
93-
- uses: actions/cache@v2
93+
- uses: actions/cache@v4
9494
id: yarn-cache
9595
name: Cache npm deps
9696
with:
9797
path: |
98-
node_modules
99-
**/node_modules
100-
~/.cache/Cypress
98+
node_modules
99+
**/node_modules
100+
~/.cache/Cypress
101101
key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
102102
- run: yarn install --frozen-lockfile
103103
if: steps.yarn-cache.outputs.cache-hit != 'true'
104-
- uses: actions/cache@v2
104+
- uses: actions/cache@v4
105105
id: dist
106106
name: Cache dist
107107
with:
@@ -120,7 +120,7 @@ jobs:
120120
GH_PR_NUM: ${{ github.event.number }}
121121
needs: build
122122
steps:
123-
- uses: actions/checkout@v2
123+
- uses: actions/checkout@v4
124124
# Yes, we really want to checkout the PR
125125
- run: |
126126
if [[ ! -z "${GH_PR_NUM}" ]]; then
@@ -131,18 +131,18 @@ jobs:
131131
- uses: actions/setup-node@v1
132132
with:
133133
node-version: '20'
134-
- uses: actions/cache@v2
134+
- uses: actions/cache@v4
135135
id: yarn-cache
136136
name: Cache npm deps
137137
with:
138138
path: |
139-
node_modules
140-
**/node_modules
141-
~/.cache/Cypress
139+
node_modules
140+
**/node_modules
141+
~/.cache/Cypress
142142
key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
143143
- run: yarn install --frozen-lockfile
144144
if: steps.yarn-cache.outputs.cache-hit != 'true'
145-
- uses: actions/cache@v2
145+
- uses: actions/cache@v4
146146
id: dist
147147
name: Cache dist
148148
with:

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ jobs:
77
env:
88
GH_PR_NUM: ${{ github.event.number }}
99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
1111
- run: |
1212
if [[ ! -z "${GH_PR_NUM}" ]]; then
1313
echo "Checking out PR"
1414
git fetch origin pull/$GH_PR_NUM/head:tmp
1515
git checkout tmp
1616
fi
17-
- uses: actions/cache@v2
17+
- uses: actions/cache@v4
1818
id: setup-cache
1919
name: Cache setup
2020
with:
@@ -33,17 +33,17 @@ jobs:
3333
- uses: actions/setup-node@v1
3434
with:
3535
node-version: '20'
36-
- uses: actions/cache@v2
36+
- uses: actions/cache@v4
3737
id: yarn-cache
3838
name: Cache npm deps
3939
with:
4040
path: |
41-
node_modules
42-
**/node_modules
41+
node_modules
42+
**/node_modules
4343
key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
4444
- run: yarn install --frozen-lockfile
4545
if: steps.yarn-cache.outputs.cache-hit != 'true'
46-
- uses: actions/cache@v2
46+
- uses: actions/cache@v4
4747
id: dist
4848
name: Cache dist
4949
with:

.github/workflows/promote.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: promote
22
on:
33
push:
44
# Sequence of patterns matched against refs/tags
5-
tags:
5+
tags:
66
- v6.*
77
jobs:
88
build-and-promote:
@@ -12,7 +12,7 @@ jobs:
1212
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1313
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616
- name: Build for promotion
1717
run: yarn install --frozen-lockfile && yarn build
1818
- uses: actions/setup-node@v3

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ jobs:
1313
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1414
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717
- uses: actions/setup-node@v1
1818
with:
1919
node-version: '20'
20-
- uses: actions/cache@v2
20+
- uses: actions/cache@v4
2121
id: yarn-cache
2222
name: Cache npm deps
2323
with:
2424
path: |
25-
node_modules
26-
**/node_modules
27-
~/.cache/Cypress
25+
node_modules
26+
**/node_modules
27+
~/.cache/Cypress
2828
key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
2929
- run: yarn install --frozen-lockfile
3030
if: steps.yarn-cache.outputs.cache-hit != 'true'
31-
- uses: actions/cache@v2
31+
- uses: actions/cache@v4
3232
id: dist
3333
name: Cache dist
3434
with:

0 commit comments

Comments
 (0)