Skip to content

Commit 7b71a98

Browse files
committed
Revert "Only use whatever Node is on my runner"
This reverts commit 375b047. I'm going to try this (removing cache: 'npm'): actions/setup-node#706 (comment) It looks like setup-node isn't supposed to need a package.json present at the project root.
1 parent 375b047 commit 7b71a98

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/node.js.yml

+11
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,19 @@ jobs:
1313
build:
1414
runs-on: ubuntu-latest
1515

16+
strategy:
17+
matrix:
18+
node-version: [18.x, 20.x]
19+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
20+
1621
steps:
1722
- uses: actions/checkout@v4
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v2
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
cache: "npm"
28+
working-directory: GitHubOIDCRoleStack
1829
- name: Install
1930
working-directory: GitHubOIDCProvider
2031
run: npm install

0 commit comments

Comments
 (0)