Skip to content

Commit

Permalink
Merge pull request #759 from WPMedia/node16
Browse files Browse the repository at this point in the history
Node 20 updates and node package upgrades
  • Loading branch information
nschubach authored Oct 18, 2023
2 parents 13a0fe3 + df69c61 commit d649947
Show file tree
Hide file tree
Showing 11 changed files with 25,257 additions and 24,791 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/beta-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

# Sets up Node v12
# Sets up Node
- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: "12"
node-version: "16"
registry-url: "https://npm.pkg.github.com"

# Caches NPM files
- name: Cache NPM files
uses: actions/cache@v2
uses: actions/cache@v3
id: cache
with:
path: node_modules
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/canary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

# Sets up Node v12
# Sets up Node
- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: "12"
node-version: "16"
registry-url: "https://npm.pkg.github.com"

- name: Cache Node Modules
id: cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Node with 12
uses: actions/setup-node@v1
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "12"
node-version: "16"
registry-url: "https://npm.pkg.github.com"

- name: Cache Node Modules
id: cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/rc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

# Sets up Node v12
# Sets up Node
- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: "12"
node-version: "16"
registry-url: "https://npm.pkg.github.com"

# Caches NPM files
- name: Cache NPM files
uses: actions/cache@v2
uses: actions/cache@v3
id: cache
with:
path: node_modules
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/stable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

# Sets up Node v12
# Sets up Node
- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: "12"
node-version: "16"
registry-url: "https://npm.pkg.github.com"

# Caches NPM files
- name: Clean install (CI) dependencies if lockfile (above) changed
uses: actions/cache@v2
uses: actions/cache@v3
id: cache
with:
path: node_modules
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/storybook-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0 # 👈 Required to retrieve git history

- name: Setup Node with 12
uses: actions/setup-node@v1
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "12"
node-version: "16"
registry-url: "https://npm.pkg.github.com"

- name: Cache Node Modules
id: cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/sync-tag-and-branch-name.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

# Sets up Node v12
- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: "12"
node-version: "16"
registry-url: "https://npm.pkg.github.com"

- name: Cache NPM files
uses: actions/cache@v2
uses: actions/cache@v3
id: cache
with:
path: node_modules
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
2 changes: 1 addition & 1 deletion jest/testSetupFile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { configure } from "enzyme";
import Adapter from "@wojtekmaj/enzyme-adapter-react-17";
import Adapter from "@cfaester/enzyme-adapter-react-18";

configure({ adapter: new Adapter() });

Expand Down
Loading

0 comments on commit d649947

Please sign in to comment.