chore(deps): update actions/setup-node action to v4 #859
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests and ESLint | |
on: | |
pull_request: | |
branches: | |
- "*" | |
push: | |
branches: | |
- master | |
jobs: | |
tests: | |
name: Test And Code coverage | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
strategy: | |
matrix: | |
node-version: [14, 16, 18, 20] | |
steps: | |
- name: Skip NO CI | |
if: contains( github.event.head_commit.message, '***NO_CI***') | |
run: exit 78 | |
- uses: actions/checkout@v4 | |
- name: Install Node Dependencies | |
run: yarn install | |
- name: Build packages | |
run: yarn build | |
env: | |
CI: "TRUE" | |
- name: Test project | |
run: yarn test | |
env: | |
CI: "TRUE" | |
- name: Code Coverage | |
run: bash <(curl -s https://codecov.io/bash) | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |