Skip to content

Commit ab61321

Browse files
committed
chore: add renovate
1 parent 1953a9e commit ab61321

File tree

4 files changed

+43
-7
lines changed

4 files changed

+43
-7
lines changed

.github/renovate.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["config:recommended"],
4+
"packageRules": [
5+
{
6+
"matchManagers": ["github-actions", "npm", "nvm"],
7+
"groupName": "{{manager}}",
8+
"automerge": true
9+
}
10+
]
11+
}

.github/workflows/ci.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Continuous Integration
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Check out repository
19+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
20+
- name: Set up Node.js
21+
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93
22+
- name: Install dependencies
23+
run: npm ci
24+
- name: Build
25+
run: npm run compile

.github/workflows/publish.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,17 @@ on:
55
tags:
66
- v*
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
publish:
1013
runs-on: ubuntu-latest
11-
permissions:
12-
contents: read
1314
steps:
14-
- name: Checkout
15-
uses: actions/checkout@v3
15+
- name: Check out repository
16+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
1617
- name: Set up Node.js
17-
uses: actions/setup-node@v3.4.1
18-
with:
19-
node-version: 20
18+
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93
2019
- name: Install dependencies
2120
run: npm ci
2221
- name: Publish

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20.12.2

0 commit comments

Comments
 (0)