Skip to content

Commit 3d86190

Browse files
committed
feat: unified pipeline
1 parent 8d142bc commit 3d86190

File tree

5 files changed

+7
-303
lines changed

5 files changed

+7
-303
lines changed

.github/workflows/backend-tests.yml

Lines changed: 0 additions & 92 deletions
This file was deleted.

.github/workflows/codeql.yml

Lines changed: 6 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,15 @@ name: "CodeQL"
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: [ "main" ]
66
pull_request:
7-
branches: [ "master" ]
7+
branches: [ "main" ]
88
schedule:
9-
- cron: "45 3 * * 0"
9+
- cron: "48 0 * * 2"
10+
1011

1112
jobs:
1213
analyze:
13-
name: Analyze
14-
runs-on: ubuntu-latest
15-
permissions:
16-
actions: read
17-
contents: read
18-
security-events: write
19-
20-
strategy:
21-
fail-fast: false
22-
matrix:
23-
language: [ javascript ]
24-
25-
steps:
26-
- name: Checkout
27-
uses: actions/checkout@v4
28-
29-
- name: Initialize CodeQL
30-
uses: github/codeql-action/init@v3
31-
with:
32-
languages: ${{ matrix.language }}
33-
queries: +security-and-quality
34-
35-
- name: Autobuild
36-
uses: github/codeql-action/autobuild@v3
14+
uses: ether/ether-pipelines/.github/workflows/codeql-plugins.yml@main
15+
secrets: inherit
3716

38-
- name: Perform CodeQL Analysis
39-
uses: github/codeql-action/analyze@v3
40-
with:
41-
category: "/language:${{ matrix.language }}"

.github/workflows/frontend-tests.yml

Lines changed: 0 additions & 94 deletions
This file was deleted.

.github/workflows/npmpublish.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.
Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
name: Node.js Package
22
on: [push]
33

4-
54
jobs:
65
backend:
7-
uses: ./.github/workflows/backend-tests.yml
8-
secrets: inherit
9-
frontend:
10-
uses: ./.github/workflows/frontend-tests.yml
11-
secrets: inherit
12-
release:
13-
if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' }}
14-
needs:
15-
- backend
16-
- frontend
17-
uses: ./.github/workflows/npmpublish.yml
6+
uses: ether/ether-pipelines/.github/workflows/test-and-release-plugins.yml@main
187
secrets: inherit

0 commit comments

Comments
 (0)