maintenance: refactor code and add pipeline #14
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: Status Checks | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint_build_and_test: | |
name: Lint, Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Install Dependencies | |
run: npm ci | |
- name: Lint | |
run: npm run lint | |
- name: Build ngx-autosize-input | |
run: npm run build | |
- name: Run Unit Tests | |
run: npm run test | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4.0.1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: joshuawwright/ngx-autosize-input |