Skip to content

Commit 78e16d7

Browse files
committed
actions setup
1 parent 29a8dc2 commit 78e16d7

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
runs:
2+
using: 'Composite'
3+
steps:
4+
- name: Use Node.js ${{ matrix.node-version }}
5+
uses: actions/setup-node@v3
6+
with:
7+
node-version: ${{ matrix.node-version }}
8+
9+
- uses: oven-sh/setup-bun@v1
10+
name: Install bun
11+
id: bun-install
12+
with:
13+
bun-version: 1.0.25
14+
15+
- name: Install dependencies
16+
run: bun install
17+
shell: bash

.github/workflows/nodejs.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Node.js CI
2+
3+
on:
4+
# push:
5+
# branches:
6+
# - main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
lint:
13+
runs-on: ubuntu-latest
14+
15+
strategy:
16+
matrix:
17+
node-version: [18.17.0]
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- name: Install packages
23+
uses: ./.github/actions/install-packages
24+
25+
- name: Lint check
26+
run: bun lint

0 commit comments

Comments
 (0)