Skip to content

Commit

Permalink
chore: add renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
jrandolf committed Apr 29, 2024
1 parent 1953a9e commit ab61321
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 7 deletions.
11 changes: 11 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"packageRules": [
{
"matchManagers": ["github-actions", "npm", "nvm"],
"groupName": "{{manager}}",
"automerge": true
}
]
}
25 changes: 25 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Continuous Integration

on:
push:
branches:
- main
pull_request:
branches:
- main

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- name: Set up Node.js
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93
- name: Install dependencies
run: npm ci
- name: Build
run: npm run compile
13 changes: 6 additions & 7 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,17 @@ on:
tags:
- v*

permissions:
contents: read

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check out repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version: 20
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93
- name: Install dependencies
run: npm ci
- name: Publish
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.12.2

0 comments on commit ab61321

Please sign in to comment.