Skip to content

fix: use exec utils from nodejs-lib #474

fix: use exec utils from nodejs-lib

fix: use exec utils from nodejs-lib #474

Workflow file for this run

name: default
on: [push, workflow_dispatch]
jobs:
build-and-test-job:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip ci')"
env:
NODE_OPTIONS: '--max-old-space-size=3200'
CC_TEST_REPORTER_ID: 8263f3329c9a25abc9ad21473a65deabd4c8f0cd54db6e7fbba1a85fb6e5b829
steps:
- { uses: actions/checkout@v3, with: { persist-credentials: false } }
- { uses: actions/setup-node@v3, with: { node-version: 18, cache: 'yarn' } }
- name: deps
run: yarn --frozen-lockfile --prefer-offline
- name: build
run: yarn build
- name: test
run: |
curl -s -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter && chmod +x ./cc-test-reporter
./cc-test-reporter before-build
yarn test
./cc-test-reporter after-build -t lcov