Skip to content

Commit 85b983a

Browse files
committed
chore: test workflow
1 parent c700fef commit 85b983a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Configure node version
5353
uses: actions/setup-node@v4
5454
with:
55-
node-version: '20'
55+
node-version-file: .nvmrc
5656
cache: npm
5757

5858
- name: Install dependencies
@@ -73,7 +73,7 @@ jobs:
7373
- name: Configure node version
7474
uses: actions/setup-node@v4
7575
with:
76-
node-version: '20'
76+
node-version-file: .nvmrc
7777
cache: npm
7878

7979
- name: Install dependencies
@@ -100,7 +100,7 @@ jobs:
100100
- uses: actions/checkout@v4
101101
- uses: actions/setup-node@v4
102102
with:
103-
node-version: '20'
103+
node-version-file: .nvmrc
104104
cache: npm
105105
- run: npm ci --prefer-offline
106106
- run: npm run build
@@ -110,7 +110,7 @@ jobs:
110110
env:
111111
HOME: /root
112112

113-
- uses: actions/upload-artifact@v2
113+
- uses: actions/upload-artifact@v4
114114
if: always()
115115
with:
116116
name: ${{ env.PLAYWRIGHT_REPORT_DIR }}
@@ -265,7 +265,7 @@ jobs:
265265
close-previous: true
266266
title: "🧪 Tests are failing on main"
267267
body: "It looks like the build is currently failing on the main branch. See failed [action results](https://github.com/patternfly/patternfly-elements/actions/runs/${{ github.run_id }}) for more details."
268-
268+
269269
build-windows:
270270
name: Verify that build runs on Windows
271271
runs-on: windows-latest
@@ -275,9 +275,9 @@ jobs:
275275

276276
# Configures the node version used on GitHub-hosted runners
277277
- name: Configure node version
278-
uses: actions/setup-node@v3
278+
uses: actions/setup-node@v4
279279
with:
280-
node-version: 20
280+
node-version-file: .nvmrc
281281
cache: npm
282282

283283
- name: Install dependencies

0 commit comments

Comments
 (0)