Skip to content

Commit

Permalink
Fix node.js deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dkreider committed May 27, 2024
1 parent 2220dd6 commit 14bbf03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
key: ${{ runner.os }}-v1-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-v1-npm

- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: latest

- name: Install dependencies
# If checksum for the `package-lock.json` hasn't changed then we shouldn't run
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: NPM Publish

env:
NODE_VERSION: 18
NODE_VERSION: latest

on:
release:
Expand All @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{env.NODE_VERSION}}
cache: npm
Expand All @@ -32,7 +32,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{env.NODE_VERSION}}
registry-url: https://registry.npmjs.org/
Expand Down

0 comments on commit 14bbf03

Please sign in to comment.