Ch config eslint 187584901 #19
Workflow file for this run
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- run: npm install | |
- run: npm ci | |
- run: npm run build --if-present | |
- run: npm test --if-present | |
- run: npm run coverage --if-present | |
- name: Upload coverage reports to Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload coverage to Coveralls | |
uses: coverallsapp/github-action@v2 | |
env: | |
PORT: ${{secrets.PORT}} | |
COVERALLS_REPO_TOKEN : ${{secrets.COVERALLS_REPO_TOKEN}} | |
CC_TEST_REPORTER_ID : ${{secrets.CC_TEST_REPORTER_ID}} |