Skip to content

Commit 39ece7c

Browse files
authored
ci: use shared workflow action for linting and tests (#1879)
1 parent a6cea10 commit 39ece7c

File tree

1 file changed

+2
-40
lines changed

1 file changed

+2
-40
lines changed

.github/workflows/ci.yml

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

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

0 commit comments

Comments
 (0)