Skip to content

Commit 0eb3fec

Browse files
authored
ci: use shared workflow for linting and tests (#1136)
1 parent 59b496d commit 0eb3fec

File tree

1 file changed

+2
-41
lines changed

1 file changed

+2
-41
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -9,44 +9,5 @@ concurrency:
99
cancel-in-progress: true
1010

1111
jobs:
12-
test:
13-
runs-on: ubuntu-24.04
14-
15-
steps:
16-
- name: Checkout
17-
uses: actions/checkout@v5
18-
19-
- name: Set up JDK 17
20-
uses: actions/setup-java@v4
21-
with:
22-
java-version: '17'
23-
distribution: 'temurin'
24-
25-
- name: Setup Homebrew
26-
uses: Homebrew/actions/setup-homebrew@main
27-
28-
- name: Setup Clang
29-
uses: tecolicom/actions-use-homebrew-tools@v1
30-
with:
31-
tools: clang-format
32-
cache: yes
33-
34-
- name: Link clang-format
35-
run: |
36-
brew link --overwrite --force clang-format >/dev/null
37-
export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
38-
clang-format --version
39-
40-
- name: Set up Bun
41-
uses: oven-sh/setup-bun@v2
42-
with:
43-
bun-version: latest
44-
45-
- name: Install
46-
run: bun install --frozen-lockfile
47-
48-
- name: Linting
49-
run: bun run lint
50-
51-
- name: Tests
52-
run: bun run test:coverage
12+
call:
13+
uses: OneSignal/sdk-actions/.github/workflows/wrapper-js-ci.yml@main

0 commit comments

Comments
 (0)