Skip to content

Commit

Permalink
add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
pasta04 committed Sep 16, 2024
1 parent 51b4ca3 commit eb1bee0
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": [
"config:base",
":prHourlyLimitNone",
":prConcurrentLimitNone",
":semanticCommits"
],
"rangeStrategy": "update-lockfile",
"postUpdateOptions": ["npmDedupe", "yarnDedupeHighest"]
}
29 changes: 29 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Node CI

on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 21.x
- name: Install
run: |
npm ci
- name: Run ESLint
run: npm run lint
- name: Build
run: npm run build

0 comments on commit eb1bee0

Please sign in to comment.