-
-
Notifications
You must be signed in to change notification settings - Fork 49
32 lines (29 loc) · 639 Bytes
/
main.yml
File metadata and controls
32 lines (29 loc) · 639 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: CI Build
on:
pull_request: {}
push:
branches:
- master
- main
tags:
- v*
jobs:
test:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v4
- run: npm install
- run: npm run lint
- run: npm run test -- --no-watch --no-progress --browsers=ChromeHeadless
automerge:
needs: [test]
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: fastify/github-action-merge-dependabot@v3.10.1
with:
github-token: ${{secrets.GITHUB_TOKEN}}