chore: Disable Netlify integration #18
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: Run benchmark | |
on: | |
push: | |
branches: | |
- "master" | |
tags-ignore: | |
- "v*" | |
jobs: | |
benchmark: | |
name: Run benchmark | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
# Cannot use >=v17 due to webpack4 crashes on it (OpenSSL related bug) | |
node-version: 16 | |
- name: Install dependencies | |
run: yarn install | |
- name: Build the addon | |
run: yarn build | |
- name: Install example dependencies | |
run: yarn install | |
working-directory: ./examples/basic | |
- name: Run benchmark | |
run: node ./scripts/benchmark.mjs | |
working-directory: ./examples/basic |