Skip to content

Commit e98a3c0

Browse files
committed
chore: actions: add
1 parent 0597461 commit e98a3c0

2 files changed

Lines changed: 42 additions & 0 deletions

File tree

.github/main.workflow

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
workflow "Push" {
2+
resolves = ["lint", "coverage"]
3+
on = "push"
4+
}
5+
6+
action "lint" {
7+
uses = "gimenete/eslint-action@1.0"
8+
}
9+
10+
action "coverage" {
11+
uses = "coverallsapp/github-action@v1.0.1"
12+
}

.github/workflows/nodejs.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Node CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
node-version:
11+
- 22.x
12+
- 24.x
13+
- 25.x
14+
steps:
15+
- uses: actions/checkout@v5
16+
- uses: oven-sh/setup-bun@v2
17+
with:
18+
bun-version: latest
19+
- name: Use Node.js ${{ matrix.node-version }}
20+
uses: actions/setup-node@v6
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
- name: Install Redrun
24+
run: bun i redrun -g --no-save
25+
- name: Install
26+
run: bun i --no-save
27+
- name: Bootstrap
28+
run: redrun bootstrap
29+
- name: Lint
30+
run: redrun lint

0 commit comments

Comments
 (0)