Skip to content

postMessage Data and Vector to a web worker, transferring buffer content #27

postMessage Data and Vector to a web worker, transferring buffer content

postMessage Data and Vector to a web worker, transferring buffer content #27

Workflow file for this run

name: CI
on:
push:
branches:
- 'main'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Volta
uses: volta-cli/action@v4
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ".yarn/cache"
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install
run: yarn install
- name: Prettier check
run: yarn fmt:check
- name: Type check
run: yarn typecheck
- name: Test
run: yarn test