Skip to content

Commit

Permalink
use node 20 via actions/setup-node
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinb-khan committed Sep 21, 2024
1 parent 7a3c3b9 commit b60e795
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ concurrency:

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [20.x]
runs-on: ubuntu-latest
steps:
# chromaui/@action doesn't work with shallow checkouts which is the
# default for actions/checkout so we need to force it to checkout
Expand All @@ -31,6 +27,11 @@ jobs:
with:
fetch-depth: 0

- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x

- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
Expand Down

0 comments on commit b60e795

Please sign in to comment.