diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index acbf3120f9..570e4c201d 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -15,17 +15,14 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: "10" - - name: install yarn - run: | - curl -o- -L https://yarnpkg.com/install.sh | bash - echo $HOME/.yarn/bin >>"$GITHUB_PATH" - echo $HOME/.config/yarn/global/node_modules/.bin >>"$GITHUB_PATH" + cache: yarn + node-version: '16' - run: yarn install --frozen-lockfile - run: yarn lint - run: yarn build - run: yarn coverage - name: Upload coverage to codecov.io - run: | - yarn global add codecov - codecov + uses: codecov/codecov-action@v3 + with: + fail_ci_if_error: true + verbose: true diff --git a/.nvmrc b/.nvmrc index f599e28b8a..b6a7d89c68 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -10 +16