Skip to content

Commit

Permalink
Update to make compatible with Node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
nikos authored Jan 24, 2024
1 parent f026ab3 commit 0bfd2a0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Node.js environment
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v4.0.1
with:
node-version: "20.x"
node-version: 20

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- name: Cache yarn cache
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-${{ matrix.node-version }}-nodemodules-${{ hashFiles('**/yarn.lock') }}
Expand Down

0 comments on commit 0bfd2a0

Please sign in to comment.