fix: ensure array buffers are only resizable if originally so; fixes #37 #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: Lint | |
steps: | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: latest | |
- name: setup repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: setup node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- run: pnpm install | |
- run: pnpm build | |
- run: pnpm lint | |
timeout-minutes: 10 | |
test: | |
runs-on: ubuntu-latest | |
name: Test (Node.js ${{ matrix.node_js_version }}) | |
steps: | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: latest | |
- name: setup repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: setup node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '${{ matrix.node_js_version }}' | |
- run: pnpm install | |
- run: pnpm test | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
node_js_version: | |
- '18.20.4' | |
- '20' | |
- '22' | |
build: | |
runs-on: ubuntu-latest | |
name: Build | |
steps: | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: latest | |
- name: setup repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: setup node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- run: pnpm install | |
- run: pnpm build | |
timeout-minutes: 10 | |
name: Lint, test and build | |
on: | |
pull_request: | |
branches: | |
- master | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- ready_for_review |