fix: check buffer length before type conversion #47
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
name: Webpack CI | |
on: | |
push: | |
branches: [ browser ] | |
pull_request: | |
branches: [ browser ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 16.x ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm i --global webpack webpack-cli | |
- run: npm run build | |
- run: git config --local user.name "github-actions[bot]" | |
- run: git config --local user.email "github-actions[bot]@users.noreply.github.com" | |
- run: git add -A | |
- run: git commit -m "Update bundle" && git push || echo "Nothing to bundle!" |