Skip to content

Commit

Permalink
Bump Node.js to v18 in GH workflows
Browse files Browse the repository at this point in the history
Node.js 18 has been our required version since 9661448.

Fixes an issue with octokit not finding a global `fetch()`.
  • Loading branch information
thpani committed Aug 23, 2023
1 parent 10d7ee7 commit 88affaf
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "17"
node-version: "18"
- run: npm install
- run: npm run format-check || (echo "Run 'npm run format'" && exit 1)

Expand All @@ -40,7 +40,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "17"
node-version: "18"
- run: npm install
- run: npm run format-check || (echo "Run 'npm run format'" && exit 1)

Expand All @@ -57,7 +57,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "17"
node-version: "18"
- run: npm install
- run: npm run compile
- run: npm test
Expand All @@ -73,7 +73,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "17"
node-version: "18"
- run: npm install
- name: Compile and update test fixtures
run: npm run generate
Expand All @@ -92,7 +92,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "17"
node-version: "18"
- run: cd ./quint && npm ci
- run: cd ./quint && npm run compile && npm link
- name: Ensure all dependencies are specified
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "17"
node-version: "18"
- run: cd ./quint && npm ci
- run: cd ./quint && npm run compile && npm link
- name: Ensure all dependencies are specified
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "17"
node-version: "18"
- run: cd ./quint && npm install
- run: cd ./quint && npm run antlr

Expand All @@ -190,7 +190,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "17"
node-version: "18"
- name: Install quint deps
run: cd ./quint && npm install
- name: Install yalc
Expand Down

0 comments on commit 88affaf

Please sign in to comment.