diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml new file mode 100644 index 0000000..e51e34e --- /dev/null +++ b/.github/workflows/benchmark.yml @@ -0,0 +1,19 @@ +name: benchmark + +on: + workflow_dispatch: + +jobs: + benchmark: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 15 + - name: Install production and development dependencies + run: | + npm install + - name: Run benchmarks + run: | + npm run benchmark diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 7668c70..0c19f10 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -10,10 +10,10 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 14 + node-version: 15 - name: Install production and development dependencies run: | npm install - name: Run examples run: | - npm run examples \ No newline at end of file + npm run examples diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 164619b..ae05f51 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 14 + node-version: 15 - name: Increment version run: | git config --local user.email "noreply@stdlib.io" @@ -31,4 +31,4 @@ jobs: status: ${{ job.status }} steps: ${{ toJson(steps) }} channel: '#npm-ci' - if: failure() \ No newline at end of file + if: failure() diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 72b66f4..3c99108 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 14 + node-version: 15 - name: Install production and development dependencies id: install run: | @@ -26,4 +26,4 @@ jobs: status: ${{ job.status }} steps: ${{ toJson(steps) }} channel: '#npm-ci' - if: failure() \ No newline at end of file + if: failure() diff --git a/.github/workflows/test_coverage.yml b/.github/workflows/test_coverage.yml index debbfd5..0e8045d 100644 --- a/.github/workflows/test_coverage.yml +++ b/.github/workflows/test_coverage.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 14 + node-version: 15 - name: Install production and development dependencies run: | npm install @@ -21,4 +21,4 @@ jobs: uses: codecov/codecov-action@v1 with: directory: reports/coverage - flags: unittests \ No newline at end of file + flags: unittests diff --git a/.github/workflows/test_install.yml b/.github/workflows/test_install.yml index 039afb6..ee70831 100644 --- a/.github/workflows/test_install.yml +++ b/.github/workflows/test_install.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: - node-version: 14 + node-version: 15 - name: Install production dependencies via npm run: | npm install --only=prod @@ -24,4 +24,4 @@ jobs: status: ${{ job.status }} steps: ${{ toJson(steps) }} channel: '#npm-ci' - if: failure() \ No newline at end of file + if: failure() diff --git a/package.json b/package.json index 3be9955..6a2bca7 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,8 @@ "scripts": { "test": "make test", "test-cov": "make test-cov", - "examples": "make examples" + "examples": "make examples", + "benchmark": "make benchmark" }, "homepage": "https://github.com/stdlib-js/stdlib", "repository": {