Skip to content

Commit f6222d3

Browse files
chore(ci): updated yarn and node for workflows (#424)
Co-authored-by: Eric Olkowski <[email protected]>
1 parent e323cea commit f6222d3

File tree

10 files changed

+23379
-16969
lines changed

10 files changed

+23379
-16969
lines changed

.github/workflows/a11y.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ jobs:
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v2
16-
- name: Use Node.js 18
16+
- name: Use Node.js 20
1717
uses: actions/setup-node@v2
1818
with:
19-
node-version: 18
19+
node-version: 20
20+
- run: corepack enable
2021
- name: Install
2122
run: yarn install
2223
- name: Build

.github/workflows/node.js.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [18.x]
18+
node-version: [20.x]
1919

2020
steps:
2121
- uses: actions/checkout@v2
2222
- name: Use Node.js ${{ matrix.node-version }}
2323
uses: actions/setup-node@v1
2424
with:
2525
node-version: ${{ matrix.node-version }}
26+
- run: corepack enable
2627
- run: yarn install
2728
- run: yarn build
2829
- run: yarn lint

.github/workflows/promote.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@ jobs:
1414
NPM_CONFIG_LEGACY_PEER_DEPS: true
1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: Build for promotion
18-
run: yarn install --frozen-lockfile && yarn build
1917
- uses: actions/setup-node@v3
2018
with:
21-
node-version: '18.x'
19+
node-version: '20.x'
2220
registry-url: 'https://registry.npmjs.org'
21+
- run: corepack enable
22+
- name: Build for promotion
23+
run: yarn install --immutable && yarn build
2324
- name: GitHub Tag Name example
2425
run: |
2526
echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-node@v1
1616
with:
17-
node-version: 18
17+
node-version: 20
18+
- run: corepack enable
1819
- uses: actions/cache@v4
1920
id: yarn-cache
2021
name: Cache npm deps
@@ -24,7 +25,7 @@ jobs:
2425
**/node_modules
2526
~/.cache/Cypress
2627
key: ${{ runner.os }}-yarn-16-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
27-
- run: yarn install --frozen-lockfile
28+
- run: yarn install --immutable
2829
if: steps.yarn-cache.outputs.cache-hit != 'true'
2930
- uses: actions/cache@v4
3031
id: dist

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ storybook-static
99
.env
1010
stats.html
1111
.history
12+
.yarn
1213

1314
.cache

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,5 @@
118118
"engines": {
119119
"node": ">=18.0.0"
120120
},
121-
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
121+
"packageManager": "yarn@4.10.3"
122122
}

packages/dev/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
"i18next-browser-languagedetector": "^8.0.0",
1717
"i18next-parser": "^9.3.0",
1818
"i18next-pseudo": "^2.2.0",
19+
"lodash-es": "^4.17.21",
20+
"marked": "^15.0.6",
1921
"react": "^18.2.0",
2022
"react-dom": "^18.2.0",
2123
"react-i18next": "^15.5.3",
22-
"react-router-dom": "^6.11.2",
23-
"marked": "^15.0.6",
24-
"lodash-es": "^4.17.21"
24+
"react-router-dom": "^6.11.2"
2525
},
2626
"devDependencies": {
2727
"@types/react": "^18.2.79",

packages/module/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646
},
4747
"peerDependencies": {
4848
"@patternfly/react-core": "^6.0.0",
49+
"marked": "^15.0.6",
4950
"react": "^17 || ^18 || ^19",
50-
"react-dom": "^17 || ^18 || ^19",
51-
"marked": "^15.0.6"
51+
"react-dom": "^17 || ^18 || ^19"
5252
},
5353
"dependencies": {
5454
"dompurify": "^3.2.4",
@@ -57,12 +57,12 @@
5757
"devDependencies": {
5858
"@patternfly/documentation-framework": "^6.0.6",
5959
"@patternfly/patternfly": "^6.0.0",
60+
"@patternfly/react-code-editor": "^6.0.0",
61+
"@patternfly/react-core": "^6.0.0",
6062
"@patternfly/react-icons": "^6.0.0",
6163
"@patternfly/react-styles": "^6.0.0",
62-
"@patternfly/react-tokens": "^6.0.0",
6364
"@patternfly/react-table": "^6.0.0",
64-
"@patternfly/react-code-editor": "^6.0.0",
65-
"@patternfly/react-core": "^6.0.0",
65+
"@patternfly/react-tokens": "^6.0.0",
6666
"@rollup/plugin-commonjs": "^17.0.0",
6767
"@rollup/plugin-json": "^4.1.0",
6868
"@rollup/plugin-node-resolve": "^11.1.0",

0 commit comments

Comments
 (0)