Skip to content

fix: empty string in arrayBuffer (#447) #1967

fix: empty string in arrayBuffer (#447)

fix: empty string in arrayBuffer (#447) #1967

Workflow file for this run

name: build
on:
push:
branches: [master, master-rc]
pull_request:
branches: [master, master-rc]
jobs:
linters:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Build tsconfig
run: yarn build:tsconfig
- name: Run tests
run: yarn test:linters
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Build the project
run: yarn build
- name: Run tests
run: yarn test:ci:jest
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
es5-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Build the project
run: yarn build --es ES5
- name: Run tests
run: yarn test:ci:jest
build-standalone:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Build the project
run: yarn build:standalone
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: lib
path: lib