File tree 1 file changed +47
-0
lines changed
1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : ci
3
+
4
+ on :
5
+ pull_request :
6
+ branches :
7
+ - master
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+
13
+ strategy :
14
+ matrix :
15
+ node-version : [18.x, 20.x]
16
+
17
+ steps :
18
+ - name : Checkout Repository
19
+ uses : actions/checkout@v4
20
+ with :
21
+ fetch-depth : 1
22
+
23
+ - name : Setup Node ${{ matrix.node-version }}
24
+ uses : actions/setup-node@v3
25
+ with :
26
+ always-auth : false
27
+ node-version : ${{ matrix.node-version }}
28
+
29
+ - name : Install dependencies
30
+ run : npm install
31
+
32
+ - name : Build
33
+ run : npm run rollup
34
+
35
+ - name : Run Tests
36
+ run : npm run test
37
+
38
+ automerge :
39
+ needs : build
40
+ runs-on : ubuntu-latest
41
+ permissions :
42
+ pull-requests : write
43
+ contents : write
44
+ steps :
45
+ - uses : fastify/github-action-merge-dependabot@v3
46
+ with :
47
+ github-token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments