We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b89687 commit fe092c4Copy full SHA for fe092c4
.github/workflows/sync.yml .github/workflows/main.yml.github/workflows/sync.yml renamed to .github/workflows/main.yml
@@ -1,13 +1,30 @@
1
-name: Synchronize to forked repo
+name: Continuous Integration and Synchronization
2
on:
3
+ pull_request:
4
+ types: [opened, synchronize, reopened]
5
push:
6
branches:
7
- develop
8
9
jobs:
10
+ quality:
11
+ name: CI: Check quality
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v3
16
+
17
+ - name: Install dependencies
18
+ run: npm install --legacy-peer-deps
19
20
+ - name: Checking
21
+ run: npm run lint && npm run lint:type && npm run lint:eslint && npm run lint:prettier
22
23
sync:
24
name: Sync forked repo
25
runs-on: ubuntu-latest
26
+ needs: quality
27
+ if: github.event_name == 'push' && github.ref == 'refs/heads/develop'
28
29
steps:
30
- name: Checkout develop
0 commit comments