Skip to content

feat: add volume threshold control #269

feat: add volume threshold control

feat: add volume threshold control #269

Workflow file for this run

name: CI
on:
push:
branches: [main, beta, alpha]
pull_request:
branches: [main, beta, alpha]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18
- run: npm ci
- run: npm run build
- run: npm test
env:
CI: true
test-compat:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14, 16]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
- run: npm test
env:
CI: true
release:
runs-on: ubuntu-latest
needs: [test, test-compat]
if: success() && github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18
- run: npm ci
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}