diff --git a/.gitattributes b/.gitattributes index 159b7455..fa723415 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6,3 +6,8 @@ *.css text eol=lf *.html text eol=lf *.md text eol=lf +*.yml text eol=lf +*.graphql text eol=lf +.eslintrc text eol=lf +.prettierrc text eol=lf +.babelrc text eol=lf diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7a04b16d..acaf56ed 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -8,7 +8,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: windows-latest steps: - uses: actions/checkout@v2 @@ -17,3 +17,7 @@ jobs: - run: yarn build:all - run: yarn lint:all - run: yarn test:all + - working-directory: ./extension + run: yarn install --immutable + - working-directory: ./extension + run: yarn test diff --git a/extension/jest.config.js b/extension/jest.config.js index 9de297e2..f8d7c3ae 100644 --- a/extension/jest.config.js +++ b/extension/jest.config.js @@ -1,3 +1,3 @@ module.exports = { - setupFiles: ['/test/setup.js'], + setupFilesAfterEnv: ['/test/setup.js'], }; diff --git a/extension/test/setup.js b/extension/test/setup.js index a980a80a..c66500f4 100644 --- a/extension/test/setup.js +++ b/extension/test/setup.js @@ -4,3 +4,5 @@ import Enzyme from 'enzyme'; import Adapter from 'enzyme-adapter-react-15.4'; Enzyme.configure({ adapter: new Adapter() }); + +jest.setTimeout(50000);