Skip to content

Commit d9f5586

Browse files
committed
chore: update GitHub Actions to use latest versions of checkout and setup-node
1 parent b4ec281 commit d9f5586

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717

1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121

2222
- name: Determine Yarn Cache Path
2323
id: yarn-cache-dir-path
24-
run: echo "::set-output name=dir::$(yarn cache dir)"
24+
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
2525

26-
- uses: actions/cache@v1
26+
- uses: actions/cache@v4
2727
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
2828
with:
2929
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -32,7 +32,7 @@ jobs:
3232
${{ runner.os }}-yarn-
3333
3434
- name: Use Node.js ${{ matrix.node-version }}
35-
uses: actions/setup-node@v1
35+
uses: actions/setup-node@v4
3636
with:
3737
node-version: ${{ matrix.node-version }}
3838

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111

1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
1515

16-
- name: Setup Node.js 22.x to publish to npmjs.org
17-
uses: actions/setup-node@v1
16+
- name: Setup Node.js to publish to npmjs.org
17+
uses: actions/setup-node@v4
1818
with:
1919
node-version: "18.x"
2020
registry-url: "https://registry.npmjs.org"

0 commit comments

Comments
 (0)