Skip to content

Commit 5221412

Browse files
committed
build: unify yarn caches
1 parent ea9443f commit 5221412

File tree

4 files changed

+9
-13
lines changed

4 files changed

+9
-13
lines changed

.github/workflows/azure-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
- name: Setup Node.js environment
2222
uses: actions/setup-node@v3
2323
with:
24-
node-version: 16
24+
node-version-file: '.node-version'
2525
cache: 'yarn'
2626

2727
- name: Install dependencies
28-
run: yarn
28+
run: yarn install --frozen-lockfile
2929

3030
- name: Build
3131
run: yarn build:azure

.github/workflows/scripts-update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
- name: Setup Node.js environment
2525
uses: actions/setup-node@v3
2626
with:
27-
node-version: 16
27+
node-version-file: '.node-version'
2828
cache: 'yarn'
2929

3030
- name: Install dependencies
31-
run: yarn
31+
run: yarn install --frozen-lockfile
3232

3333
- name: Update static
3434
run: |

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18

yarn.lock

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1699,15 +1699,10 @@ camelcase@^7.0.0:
16991699
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-7.0.0.tgz#fd112621b212126741f998d614cbc2a8623fd174"
17001700
integrity sha512-JToIvOmz6nhGsUhAYScbo2d6Py5wojjNfoxoc2mEVLUdJ70gJK2gnd+ABY1Tc3sVMyK7QDPtN0T/XdlCQWITyQ==
17011701

1702-
caniuse-lite@^1.0.30001335, caniuse-lite@^1.0.30001370:
1703-
version "1.0.30001370"
1704-
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001370.tgz#0a30d4f20d38b9e108cc5ae7cc62df9fe66cd5ba"
1705-
integrity sha512-3PDmaP56wz/qz7G508xzjx8C+MC2qEm4SYhSEzC9IBROo+dGXFWRuaXkWti0A9tuI00g+toiriVqxtWMgl350g==
1706-
1707-
caniuse-lite@^1.0.30001400:
1708-
version "1.0.30001412"
1709-
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001412.tgz#30f67d55a865da43e0aeec003f073ea8764d5d7c"
1710-
integrity sha512-+TeEIee1gS5bYOiuf+PS/kp2mrXic37Hl66VY6EAfxasIk5fELTktK2oOezYed12H8w7jt3s512PpulQidPjwA==
1702+
caniuse-lite@^1.0.30001335, caniuse-lite@^1.0.30001370, caniuse-lite@^1.0.30001400:
1703+
version "1.0.30001517"
1704+
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001517.tgz"
1705+
integrity sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA==
17111706

17121707
capital-case@^1.0.4:
17131708
version "1.0.4"

0 commit comments

Comments
 (0)