Skip to content

Commit

Permalink
Upgrade Node.js to >=19 to fix tests using string numbers in Intl
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaw3d committed Jul 26, 2023
1 parent a39b640 commit 2c0892d
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js 18
- name: Set up Node.js 19
uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: '19.x'
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
uses: actions/[email protected]
with:
python-version: '3.x'
- name: Set up Node.js 18
- name: Set up Node.js 19
uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: '19.x'
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js 18
- name: Set up Node.js 19
uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: '19.x'
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cloudflare-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ jobs:
# Checkout pull request HEAD commit instead of merge commit.
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Node.js 18
- name: Set up Node.js 19
uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: '19.x'
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/generate-openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ jobs:
working-directory: src/oasis-nexus
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Set up Node.js 19
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
node-version: '19.x'
cache: yarn
cache-dependency-path: src/oasis-nexus/yarn.lock
- run: yarn install --frozen-lockfile
- run: yarn generate
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js 18
- name: Set up Node.js 19
uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: '19.x'
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
"last 1 safari version"
]
},
"engines": {
"node": ">=19"
},
"resolutions": {
"**/@emotion/styled": "11.11.0",
"@typescript-eslint/eslint-plugin": "6.2.0",
Expand Down

0 comments on commit 2c0892d

Please sign in to comment.