Updated dev dependencies and github workflow, added editorconfig file #15
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: build | |
on: | |
push: | |
branches: [ develop, master ] | |
pull_request: | |
jobs: | |
lint-coverage-build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x, 18.x, 20.x] | |
name: Node ${{ matrix.node-version }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Installing dev dependencies | |
run: npm ci | |
- name: Linting | |
run: npm run lint | |
- name: Test and collect coverage | |
run: npm run coverage | |
- name: Build | |
run: npm run build | |
- name: Send coverage to coveralls.io | |
uses: coverallsapp/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |