We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f52add commit 06af2c1Copy full SHA for 06af2c1
.github/workflows/benchmarks.yml
@@ -0,0 +1,37 @@
1
+name: Test
2
+
3
+on: ['push']
4
5
+permissions:
6
+ contents: write
7
+ pull-requests: write
8
9
+jobs:
10
+ build:
11
12
+ # prevent subsequent commits from triggering the job multiple times
13
+ concurrency:
14
+ group: ci-${{ github.ref }}
15
+ cancel-in-progress: true
16
17
+ runs-on: ubuntu-latest
18
19
+ steps:
20
+ - uses: actions/checkout@v3
21
+ - name: Setup NodeJS
22
+ uses: actions/setup-node@v3
23
+ with:
24
+ node-version: 16.x
25
+ cache: 'npm'
26
+ - name: Install Dependencies
27
+ run: |
28
+ npm ci
29
+ sudo apt-get install hugo
30
+ - name: Start MongoDB
31
+ uses: supercharge/[email protected]
32
33
+ mongodb-port: 27019
34
+ - name: Test
35
+ run: npm run test
36
+ - name: Benchmark
37
+ run: npm run check:bench
0 commit comments