Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Discourse SAML
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giacomo Vercesi
Discourse SAML
Commits
79f52a7a
Unverified
Commit
79f52a7a
authored
2 years ago
by
discoursebot
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
DEV: Update CI workflows (#73)
Co-authored-by:
discoursebuild
<
build@discourse.org
>
parent
e43b770c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/plugin-linting.yml
+8
-8
8 additions, 8 deletions
.github/workflows/plugin-linting.yml
with
8 additions
and
8 deletions
.github/workflows/plugin-linting.yml
+
8
−
8
View file @
79f52a7a
...
...
@@ -20,7 +20,7 @@ jobs:
-
name
:
Set up Node.js
uses
:
actions/setup-node@v3
with
:
node-version
:
1
6
node-version
:
1
8
cache
:
yarn
-
name
:
Yarn install
...
...
@@ -33,15 +33,15 @@ jobs:
bundler-cache
:
true
-
name
:
ESLint
if
:
${{
always
() }}
run
:
yarn eslint --ext .js,.js.es6 --no-error-on-unmatched-pattern {test,assets}/javascripts
if
:
${{
!cancelled
() }}
run
:
yarn eslint --ext .js,.js.es6 --no-error-on-unmatched-pattern {test,assets
,admin/assets
}/javascripts
-
name
:
Prettier
if
:
${{
always
() }}
if
:
${{
!cancelled
() }}
shell
:
bash
run
:
|
yarn prettier -v
if [ 0 -lt $(find assets -type f \( -name "*.scss" -or -name "*.js" -or -name "*.es6" \) 2> /dev/null | wc -l) ]; then
if [ 0 -lt $(find assets
admin/assets
-type f \( -name "*.scss" -or -name "*.js" -or -name "*.es6" \) 2> /dev/null | wc -l) ]; then
yarn prettier --list-different "assets/**/*.{scss,js,es6}"
fi
if [ 0 -lt $(find test -type f \( -name "*.js" -or -name "*.es6" \) 2> /dev/null | wc -l) ]; then
...
...
@@ -49,9 +49,9 @@ jobs:
fi
-
name
:
Ember template lint
if
:
${{
always
() }}
run
:
yarn ember-template-lint --no-error-on-unmatched-pattern assets/javascripts
if
:
${{
!cancelled
() }}
run
:
yarn ember-template-lint --no-error-on-unmatched-pattern assets/javascripts
admin/assets/javascripts
-
name
:
Rubocop
if
:
${{
always
() }}
if
:
${{
!cancelled
() }}
run
:
bundle exec rubocop .
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment