chore: try to change viewCount to BigInt #1338
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: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: npm | |
- name: Install npm dependencies | |
run: npm ci | |
- name: Build | |
run: npm run build | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: npm | |
- name: Install npm dependencies | |
run: npm ci | |
- name: Code Climate Coverage Action | |
uses: paambaati/codeclimate-action@v3.0.0 | |
env: | |
CC_TEST_REPORTER_ID: 211ff375f223976be2b176db61fa2bc5888bd613213b15dcb5793674921f2d66 | |
with: | |
coverageCommand: npm run coverage | |
coverageLocations: | | |
${{github.workspace}}/coverage/lcov.info:lcov |