Skip to content

chore(dependencies): update jest (#17) #68

chore(dependencies): update jest (#17)

chore(dependencies): update jest (#17) #68

Workflow file for this run

name: ci
on: push
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18]
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.after }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm test
- name: Report Coverage
if: ${{ matrix.node-version == 18 }}
run: |
curl -sL https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter after-build --coverage-input-type lcov ./coverage/lcov.info
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}