Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update node version and use github-action for codecov #997

Merged
merged 4 commits into from
Oct 9, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,11 @@ 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'
mmorel-35 marked this conversation as resolved.
Show resolved Hide resolved
- 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
mmorel-35 marked this conversation as resolved.
Show resolved Hide resolved