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:
Jakub Majorek 2021-12-02 15:56:54 +01:00 committed by GitHub
parent ae1d1f478a
commit 69b7f64403
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -47,7 +47,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v2 uses: actions/cache@v2
env: env:

View file

@ -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", defaultLocale: "en",
locale: "en" locale: "en"
}; };