DEV: Update CI workflows
This commit is contained in:
parent
8f977eff1e
commit
a14050a9be
|
@ -1,6 +1,11 @@
|
|||
name: Linting
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -35,8 +40,7 @@ jobs:
|
|||
run: |
|
||||
yarn prettier -v
|
||||
yarn prettier --list-different \
|
||||
"assets/stylesheets/**/*.scss" \
|
||||
"assets/javascripts/**/*.{js,es6}"
|
||||
"assets/**/*.{scss,js,es6}"
|
||||
|
||||
- name: Rubocop
|
||||
run: bundle exec rubocop .
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
name: Plugin Tests
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -23,7 +28,7 @@ jobs:
|
|||
|
||||
matrix:
|
||||
build_types: ["BACKEND", "FRONTEND"]
|
||||
target: ["PLUGINS", "CORE"]
|
||||
target: ["PLUGINS"]
|
||||
os: [ubuntu-latest]
|
||||
ruby: ["2.6"]
|
||||
postgres: ["12"]
|
||||
|
|
Loading…
Reference in New Issue