Use node v14 for running tests on CI (#1646)
* Use old default for unhandled rejections flag * Update type import * Use less strict flag, fix types * Use node v14 for running tests
This commit is contained in:
parent
ae1d1f478a
commit
69b7f64403
2 changed files with 5 additions and 3 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -47,7 +47,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v2
|
||||
env:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { OptionalIntlConfig } from "react-intl/src/components/provider";
|
||||
import { IntlConfig } from "react-intl";
|
||||
|
||||
export const config: OptionalIntlConfig = {
|
||||
export const config: Partial<IntlConfig> = {
|
||||
defaultLocale: "en",
|
||||
locale: "en"
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue