Skip to content

Implemented a feature that allows to enable/disable logging when needed. #167

Implemented a feature that allows to enable/disable logging when needed.

Implemented a feature that allows to enable/disable logging when needed. #167

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Node v16
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies and build
run: yarn
- name: Run tests
run: yarn test
- name: Upload compiled code as artifact
uses: actions/upload-artifact@v2
with:
name: ghost-cursor
path: lib/