File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Auto-merge dependabot PRs
2+
3+ on :
4+ pull_request
5+
6+ jobs :
7+ auto-merge :
8+ if : github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ -
uses :
ahmadnassri/[email protected] 13+ with :
14+ target : minor
15+ github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -14,16 +14,24 @@ jobs:
1414 steps :
1515 - name : Checkout
1616 uses : actions/checkout@v2
17+
1718 - name : Use Node.js ${{ matrix.node-version }}
1819 uses : actions/setup-node@v1
1920 with :
2021 node-version : ${{ matrix.node-version }}
22+
23+ - name : Audit
24+ run : npm audit --audit-level critical
25+
2126 - name : Install
2227 run : npm ci
28+
2329 - name : Test
2430 run : npm test
31+
2532 - name : Lint
2633 run : npm run lint
34+
2735 - name : Release
2836 if : github.event_name == 'push' && github.ref == 'refs/heads/mainline' && matrix.node-version == '12.x'
2937 run : npm run release
You can’t perform that action at this time.
0 commit comments