Skip to content

Commit 2ec76cb

Browse files
committed
ci: seperate out build and pull request verify action
1 parent 64ffc5e commit 2ec76cb

2 files changed

Lines changed: 20 additions & 3 deletions

File tree

.github/workflows/build_verify.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ name: Phoenix build verification
33
on:
44
push:
55
branches: [ main ]
6-
pull_request:
7-
# The branches below must be a subset of the branches above
8-
branches: [ main ]
96

107
jobs:
118
build-tasks:
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Phoenix build verification
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
jobs:
8+
build-tasks:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- name: Npm Install
13+
run: |
14+
npm ci
15+
- name: eslint using npm run eslint
16+
run: |
17+
npm run lint
18+
- name: building Phoenix with npm run build
19+
run: |
20+
npm run build

0 commit comments

Comments
 (0)