Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 4e62dcd

Browse files
committed
Bump ci to node 20
1 parent 898548b commit 4e62dcd

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,28 @@ jobs:
1919
fetch-depth: 2
2020

2121
- name: Setup Node
22-
uses: actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1.4.6
22+
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
2323
with:
2424
node-version: 20.x
2525
registry-url: 'https://registry.npmjs.org'
2626
# Defaults to the user or organization that owns the workflow file
2727
scope: '@uniswap'
2828

29-
- name: Install npm
30-
run: npm install -g npm@latest
29+
- id: yarn-cache
30+
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
31+
32+
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
33+
with:
34+
path: ${{ steps.yarn-cache.outputs.dir }}
35+
key: yarn-${{ hashFiles('**/yarn.lock') }}
36+
restore-keys: |
37+
yarn-
3138
32-
- name: Setup CI
33-
run: npm ci
39+
- name: Install dependencies
40+
run: yarn install --frozen-lockfile
3441

35-
- name: Build
36-
run: npm run build
42+
- name: Compile
43+
run: yarn compile
3744

3845
- name: Publish
39-
run: npm publish
46+
run: yarn publish

0 commit comments

Comments
 (0)